All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.indices.recovery.PeerRecoveryTargetService.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????4?>com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService6com/groupbyinc/flux/common/component/AbstractComponent2com/groupbyinc/flux/index/shard/IndexEventListenerPeerRecoveryTargetService.javaMcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$RecoveryRunnerRecoveryRunner_com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$FileChunkTransportRequestHandler FileChunkTransportRequestHandlerWcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$CleanFilesRequestHandlerCleanFilesRequestHandlerVcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$FilesInfoRequestHandlerFilesInfoRequestHandler_com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$TranslogOperationsRequestHandler TranslogOperationsRequestHandlerbcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$HandoffPrimaryContextRequestHandler#HandoffPrimaryContextRequestHandler`com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$WaitForClusterStateRequestHandler!WaitForClusterStateRequestHandler]com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$FinalizeRecoveryRequestHandlerFinalizeRecoveryRequestHandlericom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$PrepareForTranslogOperationsRequestHandler *PrepareForTranslogOperationsRequestHandlerOcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$RecoveryListener#RecoveryListenerFcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$Actions&Actions@com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$1)@com/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$2+8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer-2com/groupbyinc/flux/indices/recovery/RecoveryState/TimerEcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef29com/groupbyinc/flux/indices/recovery/RecoveriesCollection4RecoveryRefNcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException72com/groupbyinc/flux/common/util/CancellableThreads9ExecutionCancelledException6com/groupbyinc/flux/index/store/Store$MetadataSnapshot<%com/groupbyinc/flux/index/store/Store>MetadataSnapshot:com/groupbyinc/flux/index/seqno/SequenceNumbers$CommitInfoA/com/groupbyinc/flux/index/seqno/SequenceNumbersC
CommitInfo/com/groupbyinc/flux/threadpool/ThreadPool$NamesF)com/groupbyinc/flux/threadpool/ThreadPoolHNamesFcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$ActionsK>com/groupbyinc/flux/indices/recovery/PeerRecoverySourceServiceM5com/groupbyinc/flux/common/io/stream/Writeable$ReaderO.com/groupbyinc/flux/common/io/stream/WriteableQReader@com/groupbyinc/flux/common/util/CancellableThreads$InterruptableT
Interruptable9com/groupbyinc/flux/cluster/ClusterStateObserver$ListenerW0com/groupbyinc/flux/cluster/ClusterStateObserverYListener%java/lang/invoke/MethodHandles$Lookup\java/lang/invoke/MethodHandles^Lookup
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;transportService0Lcom/groupbyinc/flux/transport/TransportService;recoverySettings7Lcom/groupbyinc/flux/indices/recovery/RecoverySettings;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;onGoingRecoveries;Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;$assertionsDisabledZ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/indices/recovery/RecoverySettings;Lcom/groupbyinc/flux/cluster/service/ClusterService;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)Vmo
pab	rcd	tef	vgh	xlogger!Lorg/apache/logging/log4j/Logger;z{	|"java/lang/invoke/LambdaMetafactory~metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
??(J)V?waitForClusterState??
??acceptc(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Ljava/util/function/LongConsumer;???p(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/util/function/LongConsumer;)Vm?
5?ij	?'internal:index/shard/recovery/filesInfo?()Ljava/lang/Object;?=com/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest?()Vm?
???A()Lcom/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest;?get()Ljava/util/function/Supplier;???generic?C(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Vm?
?.com/groupbyinc/flux/transport/TransportService?registerRequestHandler{(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V??
??(internal:index/shard/recovery/file_chunk?=com/groupbyinc/flux/indices/recovery/RecoveryFileChunkRequest?
???A()Lcom/groupbyinc/flux/indices/recovery/RecoveryFileChunkRequest;??
?)internal:index/shard/recovery/clean_files?>com/groupbyinc/flux/indices/recovery/RecoveryCleanFilesRequest?
???B()Lcom/groupbyinc/flux/indices/recovery/RecoveryCleanFilesRequest;??
?.internal:index/shard/recovery/prepare_translog?F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;?Pcom/groupbyinc/flux/indices/recovery/RecoveryPrepareForTranslogOperationsRequest?5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vm?
????(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/recovery/RecoveryPrepareForTranslogOperationsRequest;?read9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;???
!??(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V??
??*internal:index/shard/recovery/translog_ops?Fcom/groupbyinc/flux/indices/recovery/RecoveryTranslogOperationsRequest?
???J()Lcom/groupbyinc/flux/indices/recovery/RecoveryTranslogOperationsRequest;??
?&internal:index/shard/recovery/finalize?Dcom/groupbyinc/flux/indices/recovery/RecoveryFinalizeRecoveryRequest?
???H()Lcom/groupbyinc/flux/indices/recovery/RecoveryFinalizeRecoveryRequest;??
?/internal:index/shard/recovery/wait_clusterstate?Gcom/groupbyinc/flux/indices/recovery/RecoveryWaitForClusterStateRequest?
???K()Lcom/groupbyinc/flux/indices/recovery/RecoveryWaitForClusterStateRequest;??
?5internal:index/shard/recovery/handoff_primary_context?Icom/groupbyinc/flux/indices/recovery/RecoveryHandoffPrimaryContextRequest?
???M()Lcom/groupbyinc/flux/indices/recovery/RecoveryHandoffPrimaryContextRequest;??
?this@Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;settings.Lcom/groupbyinc/flux/common/settings/Settings;beforeIndexShardClosed?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/common/settings/Settings;)V%Lcom/groupbyinc/flux/common/Nullable;shard closedcancelRecoveriesForShard>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)Z	
5
shardId)Lcom/groupbyinc/flux/index/shard/ShardId;
indexShard,Lcom/groupbyinc/flux/index/shard/IndexShard;
indexSettings
startRecovery?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$RecoveryListener;)V5com/groupbyinc/flux/indices/recovery/RecoverySettingsactivityTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;
?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$RecoveryListener;Lcom/groupbyinc/flux/common/unit/TimeValue;)J
5(()Ljava/util/concurrent/ExecutorService;?
ID(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;J)Vm
	 $java/util/concurrent/ExecutorService"execute(Ljava/lang/Runnable;)V$%#&
sourceNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;listenerQLcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService$RecoveryListener;
recoveryIdJ
retryRecoveryo(JLjava/lang/Throwable;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)V,()Lorg/apache/logging/log4j/message/Message;0lambda$retryRecovery$0X(JLcom/groupbyinc/flux/common/unit/TimeValue;)Lorg/apache/logging/log4j/message/Message;23
45](JLcom/groupbyinc/flux/common/unit/TimeValue;)Lorg/apache/logging/log4j/util/MessageSupplier;?7	8org/apache/logging/log4j/Logger:traceG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V<=;>Z(JLcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)V.@
AreasonLjava/lang/Throwable;
retryAfter+Lcom/groupbyinc/flux/common/unit/TimeValue;l(JLjava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)V6will retry recovery with id [{}] in [{}] (reason [{}])Hjava/lang/LongJvalueOf(J)Ljava/lang/Long;LM
KNK(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V<P;QLjava/lang/String;
resetRecoveryc(JLcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;TU
5V3com/groupbyinc/flux/indices/recovery/RecoveryTargetX()J,Z
Y[scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;]^
I_	newTarget5Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;
doRecoveryjava/lang/Exceptiondjava/lang/ThrowablefgetRecoveryJ(J)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef;hi
5jGnot running recovery with id [{}] - can not find it (probably finished)l'(Ljava/lang/String;Ljava/lang/Object;)V<n;o$closeResource1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)Vqr
starget7()Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;uv
3wcancellableThreads6()Lcom/groupbyinc/flux/common/util/CancellableThreads;yz
Y{state6()Lcom/groupbyinc/flux/indices/recovery/RecoveryState;}~
YgetTimer<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer;??
0?kl	?2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;(?
Y?java/lang/AssertionError?+can not do a recovery without a source node?(Ljava/lang/Object;)Vm?
??getStartRecoveryRequestr(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;??
?${} preparing shard for peer recovery?+()Lcom/groupbyinc/flux/index/shard/ShardId;?
Y?.()Lcom/groupbyinc/flux/index/shard/IndexShard;?
Y?*com/groupbyinc/flux/index/shard/IndexShard?prepareForIndexRecovery??
??Junexpected error while preparing shard for peer recovery, failing recovery?*(Ljava/lang/String;Ljava/lang/Throwable;)V<?;?;-Ljava/util/concurrent/atomic/AtomicReference;recoveryResponse7Lcom/groupbyinc/flux/indices/recovery/RecoveryResponse;recoveryTimePLcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException;causegetStoreMetadataSnapshoto(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;Ecom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException?java/io/IOException?snapshotStoreMetadata:()Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;??
??+{} shard folder empty, recovering all files?EMPTY8Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;??	=?@error while listing local files, recovering as if there are none?warn??;?GLcom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException;Ljava/io/IOException;"{} collecting local files for [{}]???
?{} local file count [{}]?
=java/lang/Integer?(I)Ljava/lang/Integer;L?
??getStartingSeqNoY(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)J??
?????????.{} preparing for file-based recovery from [{}]?[{} preparing for sequence-number-based recovery starting at local checkpoint [{}] from [{}]?routingEntry4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
??0com/groupbyinc/flux/cluster/routing/ShardRouting?allocationId4()Lcom/groupbyinc/flux/cluster/routing/AllocationId;??
??0com/groupbyinc/flux/cluster/routing/AllocationId?getId??
??2com/groupbyinc/flux/cluster/service/ClusterService?	localNode??
??
getPrimary??
0??(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;ZJJ)Vm?
??
startingSeqNometadataSnapshot=com/groupbyinc/flux/index/translog/TranslogCorruptedException?store)()Lcom/groupbyinc/flux/index/store/Store;??
Y?readLastCommittedSegmentsInfo?()Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos;??
??;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos?getUserData()Ljava/util/Map;??
??
translog_uuid?
java/util/Map?&(Ljava/lang/Object;)Ljava/lang/Object;????java/lang/String?translogLocation()Ljava/nio/file/Path;??
Y+com/groupbyinc/flux/index/translog/TranslogreadGlobalCheckpoint)(Ljava/nio/file/Path;Ljava/lang/String;)J
	directory<()Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;	
?
>com/groupbyinc/flux/common/apache/lucene/index/DirectoryReaderlistCommitsL(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Ljava/util/List;

7com/groupbyinc/flux/index/engine/CombinedDeletionPolicyfindSafeCommitPointO(Ljava/util/List;J)Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;

loadSeqNoInfoz(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Lcom/groupbyinc/flux/index/seqno/SequenceNumbers$CommitInfo;
?java/util/StringJoiner,(Ljava/lang/CharSequence;)Vm 
!iterator()Ljava/util/Iterator;#$%:com/groupbyinc/flux/common/apache/lucene/index/IndexCommit'java/util/Iterator)hasNext+?*,next.?*/commitDescriptionP(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexCommit;)Ljava/lang/String;12
3add2(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;56
7aCalculate starting seqno based on global checkpoint [{}], safe commit [{}], existing commits [{}]9maxSeqNo;-	B<localCheckpoint>-	B?
??commit;
safeCommit
seqNoStats;6Lcom/groupbyinc/flux/action/support/PlainActionFuture;clusterStateVersionclusterState*Lcom/groupbyinc/flux/cluster/ClusterState;observer2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;5org/apache/logging/log4j/message/ParameterizedMessage?>failed waiting for cluster state with version {} (current: {})?m?
??newState"[{}][{}] Got exception on recovery?java/lang/InterruptedException?,internal:index/shard/recovery/start_recovery?
*?
submitRequest?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)Lcom/groupbyinc/flux/transport/TransportFuture;??
??-com/groupbyinc/flux/transport/TransportFuture?txGet????set??
??(will retry recovery with id [{}] in [{}]?java/lang/AutoCloseable?close????
addSuppressed(Ljava/lang/Throwable;)V??
g?x0x1Ljava/lang/AutoCloseable;
access$000}(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;
access$100v(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/cluster/service/ClusterService;
access$200c(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lorg/apache/logging/log4j/Logger;
access$300m(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/threadpool/ThreadPool;
access$400
access$500
access$600y(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/indices/recovery/RecoverySettings;
access$700
access$800
access$900c?
?java/lang/Class?desiredAssertionStatus??
??CodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotationsLocalVariableTypeTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!abcdefghijklmn?n?*+?q*,?s*-?u*?w*?y*?5Y*?},*??????-?????Y*????-?????Y*????-?????Y*?¶?-?????!Y*?Ӷ?-غ???Y*???-????Y*???-????Y*????-?????Y*??????>????ab?cd?ef?gh?>hi
jklm1oFq[spu?w?y?{?}???j,?*??+?W??*?
????????**??+,-*?w??7*?s??	Y*?!?'??4*?**()**+,-???)?./?v*?}?9-??*?B??4?,-CDEFF????.G?w*?}I?O-?R*?B??4?,-CSEFF????.@??**???W:?*?s-??	Y*?\?!?`W??4*?*,-*EF*Fab????)???)Yc???*???k::? *?}m?O?p?
?t??x:?|:????:????????Y????*??N*?}????p?????::	*?}?	??*????Y???	?????
?t??'?t?::?:
?
?t
?*?}?-??-??????Y??:*-????????:??Y?ӷ?:*????*?}???V??Y??:		[??-??????]??[??-?????????W	???-????????W	???
???????Y?????????"?$???'?"?]??)??W	+???.???0??Y?3????W	5???8?"???W	:???>????@?????C?"???)??W*?}E	?p?*?}G-??-???J?<:*?}L???):*?}???*?}-?T???Z:?8?*????Y-\?_????a?
?e:?Z:?a?
?e:?g??i??k?*m*?w?p*?w??r??t?**?w?p*?w??v??x?8*?}z-??*?w?}???J*??*?w?}*?w??r????*????Y-??_???*????Y-?????G??e
"?g/??g
"?/????????8???e??g???5??	6??b???=?y?G???
???CG??	??????&}?F?????D?$?????,-??????y??????????RT?
??"?.?/?6?=?G?`?g?x??????????????????????????????&?.?:?C?n?r??????????????(?B?a?x?|????????????????????????????
???#?;DKNQRZ	o
p
x????????????.3g?0:.3gYbe?5e??:.3g?3ggHg?
g??:.??????B8Re?e?%g<?????,+?????M*?}?+?p???M*?}?,????????*	????,?,?b?&'	)*+,(-?
H?Q????x?*?}?+??+????*+??N*?}?+??-??????-???*?}+??7??7Ô?*?}?+??+?????*?}?+???O+???R??Y+??+???̶Ҷ?+??*?y??-+????+?\??M,??>B?-????b??????Jm?-?V9;<1?8@EBJESFjHrJwK{L~H?O?P?Q?R?S?U?V?X??E=?	????+??M,????????N+?-?7,??:?:?:*???Q?Y?":	?&:

?-?
?0?(:	?4?8W???*:?O?4	?R?=??$????@????Y?A??@
a?íMí???????????????poBCPBDE	??F?GS"?H-+?I4?KC;?LM????z{??b?+?IJ?Rdef"g+h4i;jDkPlomzn}o?p?o?r?s?y?{?}???=?Y
;Y??(B*?#?#?;Ye?????*?y?PN?ZY-*?yQ?U*?}*?s?Y?\:-?a??*?}c?O-?a?O???*?}e?O-?a?O???gY?h:?,Y*?k?x?|?}?K??7*?}??O?O???:*?}*????????~??e?H??-???hU??????-???'????hU???J???'?0?<?B?G?H?_?h?~???????%?H^Z?Z^Zge????X??Y??O*?y?P?a?O??????-?
no?N,?a??????-????
@
MN?Q??Y?*?????*???????????????????n$+*?u,???,?*Y*???????ζ??? $?$??$?????? ???
23?L??Y??O,????,-EF????
qr?g*?+???M*,???	+???

g??D?????Mg???/*??????P???/*?y????P???/*?}????P???/*?s????P???/*?}????P???/*?}????P???/*?w????P???/*?}????P???/*?}????P??:*?ұ???-?P???4?ؚ?????P?@???????????????????????????????????????161?????1Q1?mrt?1?1???	

!"$%	'(	*,.01	356	8:;	=?@BDEGIJ	LN(	PRS	U:V	XZ[	]_`




© 2015 - 2025 Weber Informatics LLC | Privacy Policy