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: 129
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/threadpool/ThreadPool$NamesA)com/groupbyinc/flux/threadpool/ThreadPoolCNamesFcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$ActionsF>com/groupbyinc/flux/indices/recovery/PeerRecoverySourceServiceH@com/groupbyinc/flux/common/util/CancellableThreads$InterruptableJ
Interruptable9com/groupbyinc/flux/cluster/ClusterStateObserver$ListenerM0com/groupbyinc/flux/cluster/ClusterStateObserverOListener%java/lang/invoke/MethodHandles$LookupRjava/lang/invoke/MethodHandlesTLookup
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ce
fWX	hYZ	j[\	l]^	nlogger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;pq	r"java/lang/invoke/LambdaMetafactorytmetafactory?(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;vw
uxy(J)V{waitForClusterState}{
~acceptc(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Ljava/util/function/LongConsumer;????(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/threadpool/ThreadPool;Ljava/util/function/LongConsumer;)Vc?
5?_`	?'internal:index/shard/recovery/filesInfo?()Ljava/lang/Object;?=com/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest?()Vc?
???A()Lcom/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest;?get()Ljava/util/function/Supplier;???generic?C(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Vc?
?.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?Pcom/groupbyinc/flux/indices/recovery/RecoveryPrepareForTranslogOperationsRequest?
???T()Lcom/groupbyinc/flux/indices/recovery/RecoveryPrepareForTranslogOperationsRequest;??
!?*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 closed?cancelRecoveriesForShard>(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/RecoverySettings?activityTimeout-()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;?
D	D(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;J)Vc
	$java/util/concurrent/ExecutorServiceexecute(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;)Vlambda$retryRecovery$0@(JLcom/groupbyinc/flux/common/unit/TimeValue;)Ljava/lang/Object;
m(JLcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;?!	"6com/groupbyinc/flux/common/apache/logging/log4j/Logger$traceW(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V&'%(Z(JLcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)V*
+reasonLjava/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 [{}])2java/lang/Long4valueOf(J)Ljava/lang/Long;67
58K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V&:%;Ljava/lang/String;
resetRecoveryc(JLcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;>?
5@3com/groupbyinc/flux/indices/recovery/RecoveryTargetB()JD
CEscheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;GH
DI	newTarget5Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;
doRecoveryjava/lang/ThrowableNjava/lang/ExceptionPgetRecoveryJ(J)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef;RS
5TGnot running recovery with id [{}] - can not find it (probably finished)V'(Ljava/lang/String;Ljava/lang/Object;)V&X%Yclose[?
3\
addSuppressed(Ljava/lang/Throwable;)V^_
O`target7()Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;bc
3dcancellableThreads6()Lcom/groupbyinc/flux/common/util/CancellableThreads;fg
Chstate6()Lcom/groupbyinc/flux/indices/recovery/RecoveryState;jk
ClgetTimer<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer;no
0pab	r2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;t
Cujava/lang/AssertionErrorw+can not do a recovery without a source nodey(Ljava/lang/Object;)Vc{
x|getStartRecoveryRequestr(Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;)Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;~
?${} preparing shard for peer recovery?+()Lcom/groupbyinc/flux/index/shard/ShardId;??
C?.()Lcom/groupbyinc/flux/index/shard/IndexShard;??
C?*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;6?
??getStartingSeqNo8(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?t
??
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c?
??
startingSeqNometadataSnapshottranslogLocation()Ljava/nio/file/Path;??
C?+com/groupbyinc/flux/index/translog/Translog?readGlobalCheckpoint(Ljava/nio/file/Path;)J??
??store)()Lcom/groupbyinc/flux/index/store/Store;??
C?loadSeqNoStats/(J)Lcom/groupbyinc/flux/index/seqno/SeqNoStats;??
??*com/groupbyinc/flux/index/seqno/SeqNoStats?getMaxSeqNo?D
??getGlobalCheckpoint?D
??getLocalCheckpoint?D
??
x?globalCheckpoint
seqNoStats,Lcom/groupbyinc/flux/index/seqno/SeqNoStats;,()Lcom/groupbyinc/flux/cluster/ClusterState;j?
??timeValueMinutes?
??getThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;??
D??(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Vc?
P(com/groupbyinc/flux/cluster/ClusterState
getVersionD
@node has cluster state with version higher than {} (current: {})2waiting for cluster state version {} (current: {})	4com/groupbyinc/flux/action/support/PlainActionFuture
?z(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;Lcom/groupbyinc/flux/action/support/PlainActionFuture;J)Vc
,(Ljava/lang/Object;)Zlambda$waitForClusterState$3.(JLcom/groupbyinc/flux/cluster/ClusterState;)Z
-(Lcom/groupbyinc/flux/cluster/ClusterState;)Ztest!(J)Ljava/util/function/Predicate;waitForNextChange\(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;)V
P 
?	longValue#D
5$Csuccessfully waited for cluster state with version {} (current: {})&lambda$waitForClusterState$4(J)Ljava/lang/Object;()
*+?(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;J)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;?-
.5'%0convertToRuntime3(Ljava/lang/Exception;)Ljava/lang/RuntimeException;23
C4currentVersionfutureHLcom/groupbyinc/flux/action/support/PlainActionFuture;6Lcom/groupbyinc/flux/action/support/PlainActionFuture;clusterStateVersionclusterState*Lcom/groupbyinc/flux/cluster/ClusterState;observer2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage?>failed waiting for cluster state with version {} (current: {})Ac?
@CnewState"[{}][{}] Got exception on recoveryFjava/lang/InterruptedExceptionH,internal:index/shard/recovery/start_recoveryJ
*?
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;MN
?O-com/groupbyinc/flux/transport/TransportFutureQtxGetS?RTsetV{
?W(will retry recovery with id [{}] in [{}]Y
access$000}(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;x0
access$100v(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/cluster/service/ClusterService;
access$200z(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/common/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M{
kx1java/lang/ClassodesiredAssertionStatusq?
prCodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotationsLocalVariableTypeTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!WXYZ[\]^_`abcdtn?*+?g*,?i*-?k*?m*?o*?5Y*?s,*??????-?????Y*????-?????Y*????-?????Y*????-?????!Y*?¶?-ĺ???Y*?̶?-κ???Y*?ֶ?-غ???Y*???-????Y*????u>???????WX?YZ?[\?]^v>cd
efgh1jFl[npp?r?t?v?x?}??ti,?*??+??W?u*????????v???wx???t?**??+,-*?m??7*?i?
?	Y*?
??u4*??*??**v??)?tv*?s?#-?)*?,?u4??-./00v???1tw*?s3?9-?<*?,?u4??-=/00v???*t?**???A:?*?i-??	Y*?F?
?JW?u4*??**/0*0KLv???)?w?)CM{t
2*???UN:-?4*?sW?9?Z-??-?]?:?a?-?]?-?e:?i:?m?q:?s??v??xYz?}?*??:*?s????Z?????N:	*?s?	??*????Y?m?	????-??-?]?:

?a?-?]?-?P?-?]?D:?a?8-?]?1::?:-??-?]?:?a?-?]?*?s?????????Y??N*-????-????:??Y????:*????*?s???Y??Y??:		[?????ֶܶ?]??[?????????W	????????????W	????????????߻Y???????????????????]????W	????????߻Y? ?????W	"???%?????W	'???+?????-?????0????????W*?s2	?Z?*?s4?????7?;N*?s9-???*N*?s???*?s?A-?)-?G:?8?*????YI?L????N?
?R:?G:?N?
?R:?T??V??X?*Z*?m?]*?m??_??a?**?m?]*?m??c??e?9*?sg??*?m?j?m?7*?m*?m?j*?m??_??o?*????Yq?L???*????Y-?t???)-0OX??Q???O???O OA?O A?O1??81?
Qu?yuv?Iwx	G?yL?#uvN?fzX?{|	(}~?J?	O???f???t??0?
w?.?.&wx2??21uv1fz1{|yO???vRT??? ?@?A?G?N?X?q?y???????????????????????1?G?O?]?f?t?|?????????????6?D?H?o?y??????????????????
???(?.?6?M?N?V?]?d?l?s????????	?
?
??????1wH ?03OO?/C:.cQ?9	3OC:.QO?3O:.?OO?3OOHO?3OOO?:.??????:.??:.?B8PQ?Q:.??%QO:.?=?:.???t?,+?????M*?s?+?Z???M*?s?,???????u*	w?w?,??,yLv&'	)*+,(-w
H?Q?~tp?*?s?+??+?v??*+??M*?s?+??,??????,???+??B??B!???*?s?+??+?v???*?s?+??!?9+?v?<??Y+??+????????+?v*?o??,+?m??+?F!??:?u>=?????yL?uv???Dl?vV9;<1?8@@BDELFcHkJoKsLvH{O?P?Q?R?S?U?V?Xw?@=?	??t?H*?ո?@*????N-??-?딝$?s?-??-?딞?xY??-??
a???:??=B?>AB?u*:?1??Dw?HyLv"defg7m>oBqDww?7??C?}{t?	?*?o??N?PY-*?o???*?s*?i???:-???*?s?9-??9???*?s
?9-??9???Y?
:?,Y*???!?"?5?%7*?s'?9?9???:*?s*?/?1?5??~??QuH?6?wxhU79????:?;<'?=>yhU78vJ???'?0?<?B?G?H?_?h?~??????w%?HP?ZPQ?()t\?@YB?9*?o????9?D?u??:v	
tN,?????u:E<vw
@
:;tU?@YG*???ֶ?*??????D?uuvv??????tk!+*?k,??K,?*Y*?L?P?U?X?u !??!??!uvv????zI
tL?@YZ?9,?D?u/0v???[\t/*???u]?vK^_t/*?o?u]?vK`at/*?s?u]?vKbct/*?i?u]?vKdat/*?s?u]?vKeat/*?s?u]?vKfgt/*?m?u]?vKhat/*?s?u]?vKiat/*?s?u]?vKjt:*?l?u]?mvKn?t4?s???s?vKw@{?z|?|z???z???z???z???z???z???z???z???z? ?z???z?>?zz?,?|}?	

!"$%	'(	*,.01	356	8:;	=?@BDE	GI(	K:L	NPQ	SUV




© 2015 - 2025 Weber Informatics LLC | Privacy Policy