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

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

????4M>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 TranslogOperationsRequestHandler`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(6com/groupbyinc/flux/index/store/Store$MetadataSnapshot*%com/groupbyinc/flux/index/store/Store,MetadataSnapshot8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer/2com/groupbyinc/flux/indices/recovery/RecoveryState1TimerEcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef49com/groupbyinc/flux/indices/recovery/RecoveriesCollection6RecoveryRefNcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException92com/groupbyinc/flux/common/util/CancellableThreads;ExecutionCancelledException/com/groupbyinc/flux/threadpool/ThreadPool$Names>)com/groupbyinc/flux/threadpool/ThreadPool@NamesFcom/groupbyinc/flux/indices/recovery/PeerRecoverySourceService$ActionsC>com/groupbyinc/flux/indices/recovery/PeerRecoverySourceServiceE@com/groupbyinc/flux/common/util/CancellableThreads$InterruptableG
Interruptable9com/groupbyinc/flux/cluster/ClusterStateObserver$ListenerJ0com/groupbyinc/flux/cluster/ClusterStateObserverLListener%java/lang/invoke/MethodHandles$LookupOjava/lang/invoke/MethodHandlesQLookup
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`b
cTU	eVW	gXY	iZ[	klogger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;mn	o"java/lang/invoke/LambdaMetafactoryqmetafactory?(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;st
ruv(Ljava/lang/Object;)VxwaitForClusterState(J)Vz{
|}(Ljava/lang/Long;)Vhandlel(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)Lcom/groupbyinc/flux/common/util/Callback;????(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/util/Callback;)V`?
7?\]	?'internal:index/shard/recovery/filesInfo?()Ljava/lang/Object;?=com/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest?()V`?
???A()Lcom/groupbyinc/flux/indices/recovery/RecoveryFilesInfoRequest;?get()Ljava/util/function/Supplier;???generic?C(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;)V`?
?.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;??
?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??
7?shardId)Lcom/groupbyinc/flux/index/shard/ShardId;
indexShard,Lcom/groupbyinc/flux/index/shard/IndexShard;
indexSettingsreasonLjava/lang/String;
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??
7?(()Ljava/util/concurrent/ExecutorService;?
AD(Lcom/groupbyinc/flux/indices/recovery/PeerRecoveryTargetService;J)V`
	$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/LoggertraceW(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"
#Ljava/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 [{}]))java/lang/Long+valueOf(J)Ljava/lang/Long;-.
,/K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V12
resetRecoveryc(JLcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;45
763com/groupbyinc/flux/indices/recovery/RecoveryTarget8()J:
9;scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;=>
A?	newTarget5Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;
doRecoveryjava/lang/ThrowableDEcom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundExceptionFjava/io/IOExceptionHjava/lang/ExceptionJgetRecoveryJ(J)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef;LM
7NEnot running recovery with id [{}] - can't find it (probably finished)P'(Ljava/lang/String;Ljava/lang/Object;)VRScloseU?
5V
addSuppressed(Ljava/lang/Throwable;)VXY
EZtarget7()Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget;\]
5^^_	`2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;b
9cjava/lang/AssertionErrore)can't do a recovery without a source nodeg`x
ficollecting local files for {}k.()Lcom/groupbyinc/flux/index/shard/IndexShard;?m
9n*com/groupbyinc/flux/index/shard/IndexShardp+()Lcom/groupbyinc/flux/index/IndexSettings;?r
qs'com/groupbyinc/flux/index/IndexSettingsuisOnSharedFilesystem()Zwx
vyEMPTY8Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;{|	+}snapshotStoreMetadata:()Lcom/groupbyinc/flux/index/store/Store$MetadataSnapshot;?
q?{} local file count: [{}]?size()I??
+?java/lang/Integer?(I)Ljava/lang/Integer;-?
??9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V??({} shard folder empty, recover all files?=error while listing local files, recover as if there are none?warn*(Ljava/lang/String;Ljava/lang/Throwable;)V???	??timeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;AB
?C], throttling_wait [Ephase1ThrottlingWaitTimeG	?H
J         : reusing_files   [Lphase1ExistingFileNamesN,	?O] with total_size of [Qphase1ExistingTotalSizeS	?T   phase2: start took [V	startTimeX	?Y         : recovered [[phase2OperationsI]^	?_ transaction log operationsa
phase2Timec	?d{}f%{} recovery done from [{}], took [{}]hdebugj1krecovery cancelledmlambda$doRecovery$2O(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;)Ljava/lang/Object;op
qr|(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;?t
u$com/groupbyinc/flux/ExceptionsHelperwunwrapCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;yz
x{ source has canceled the recovery}e(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;Ljava/lang/String;Ljava/lang/Throwable;)V`
??8com/groupbyinc/flux/index/engine/RecoveryEngineException?getCause()Ljava/lang/Throwable;??
E??com/groupbyinc/flux/index/shard/IllegalIndexShardStateException?0com/groupbyinc/flux/index/IndexNotFoundException?6com/groupbyinc/flux/index/shard/ShardNotFoundException?remote shard not ready?retryDelayStateSync??
??(
?;com/groupbyinc/flux/indices/recovery/DelayRecoveryException?
?7com/groupbyinc/flux/transport/ConnectTransportException?=delaying recovery of {} for [{}] due to networking error [{}]?retryDelayNetwork??
??
getMessage??
E?Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException?source shard is closed?S(Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;Ljava/lang/Throwable;)V`?
??metadataSnapshoteGLcom/groupbyinc/flux/common/apache/lucene/index/IndexNotFoundException;Ljava/io/IOException;Ljava/lang/Exception;request;Lcom/groupbyinc/flux/indices/recovery/StartRecoveryRequest;cancellableThreads4Lcom/groupbyinc/flux/common/util/CancellableThreads;timer:Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer;recoveryTargetrecoveryRefGLcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryRef;sbLjava/lang/StringBuilder;responseHolderfLjava/util/concurrent/atomic/AtomicReference;-Ljava/util/concurrent/atomic/AtomicReference;recoveryResponse7Lcom/groupbyinc/flux/indices/recovery/RecoveryResponse;recoveryTimePLcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException;cause,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??timeValueMinutes?B
??getThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;??
A??(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`?
M?(com/groupbyinc/flux/cluster/ClusterState?
getVersion?:
??@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`?
)?(Ljava/lang/Object;)Z?lambda$waitForClusterState$3.(JLcom/groupbyinc/flux/cluster/ClusterState;)Z??
??-(Lcom/groupbyinc/flux/cluster/ClusterState;)Z?test!(J)Ljava/util/function/Predicate;???waitForNextChange\(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;)V??
M?
??	longValue?:
,?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;???j?convertToRuntime3(Ljava/lang/Exception;)Ljava/lang/RuntimeException;
xcurrentVersionfutureHLcom/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: {})`?
newState"[{}][{}] Got exception on recoveryjava/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%x
?&(will retry recovery with id [{}] in [{}](
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C{
:x1java/lang/Class>desiredAssertionStatus@x
?ACodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotationsLocalVariableTypeTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!TUVWXYZ[\]^_`aCU?*+?d*,?f*-?h*?j*?l*?7Y*?p,*??????-?????Y*????-?????Y*????-?????Y*????-?????Y*?¶?-ĺ???Y*?̶?-κ???Y*?ֶ?-غ???Y*????D>???????TU?VW?XY?Z[E:`a
bcde1gFi[kpm?o?q?s?u??Ci,?*??+??W?D*????????Eyz|FG???CH
*??+,???D 
??
??
??E???C?**??+,-*?j????7*?f??	Y*???D4*??*??*
*E??)?Cv*?p?-?!*?$?D4???%&'?'E???(Cw*?p*?0-?3*?$?D4????&'?'E???"C?**???7:?*?f-??	Y*?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy