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

com.groupbyinc.flux.snapshots.SnapshotsService.class Maven / Gradle / Ivy

????4 .com/groupbyinc/flux/snapshots/SnapshotsService?com/groupbyinc/flux/common/component/AbstractLifecycleComponent/com/groupbyinc/flux/cluster/ClusterStateApplierSnapshotsService.java>com/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequestSnapshotRequestIcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListenerSnapshotCompletionListenerEcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListenerDeleteSnapshotListenerEcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListenerCreateSnapshotListenerHcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListenerCleanupAfterErrorListener0com/groupbyinc/flux/snapshots/SnapshotsService$80com/groupbyinc/flux/snapshots/SnapshotsService$70com/groupbyinc/flux/snapshots/SnapshotsService$60com/groupbyinc/flux/snapshots/SnapshotsService$50com/groupbyinc/flux/snapshots/SnapshotsService$40com/groupbyinc/flux/snapshots/SnapshotsService$3!0com/groupbyinc/flux/snapshots/SnapshotsService$2#0com/groupbyinc/flux/snapshots/SnapshotsService$1%5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry'/com/groupbyinc/flux/cluster/SnapshotsInProgress)Entry5com/groupbyinc/flux/cluster/metadata/MetaData$Builder,-com/groupbyinc/flux/cluster/metadata/MetaData.Builder=com/groupbyinc/flux/cluster/SnapshotDeletionsInProgress$Entry17com/groupbyinc/flux/cluster/SnapshotDeletionsInProgress3Ccom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus5ShardSnapshotStatus;com/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder83com/groupbyinc/flux/common/collect/ImmutableOpenMap:/com/groupbyinc/flux/threadpool/ThreadPool$Names<)com/groupbyinc/flux/threadpool/ThreadPool>Names4com/groupbyinc/flux/cluster/metadata/MetaData$CustomACustom/com/groupbyinc/flux/cluster/ClusterState$CustomD(com/groupbyinc/flux/cluster/ClusterStateFBcom/groupbyinc/flux/index/snapshots/IndexShardSnapshotStatus$StageH;$assertionsDisabledZ(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)Vkn
o)java/util/concurrent/CopyOnWriteArrayListq()Vks
rtfg	v^_	x`a	zbc	|de	~.com/groupbyinc/flux/cluster/node/DiscoveryNode?isMasterNode1(Lcom/groupbyinc/flux/common/settings/Settings;)Z??
??2com/groupbyinc/flux/cluster/service/ClusterService?addLowPriorityApplier4(Lcom/groupbyinc/flux/cluster/ClusterStateApplier;)V??
??,com/groupbyinc/flux/common/settings/Settings?@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver?4com/groupbyinc/flux/repositories/RepositoriesService?this0Lcom/groupbyinc/flux/snapshots/SnapshotsService;settings.Lcom/groupbyinc/flux/common/settings/Settings;getRepositoryDataE(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/RepositoryData;
repositoryA(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/Repository;??
??ij	?java/lang/AssertionError?
?t+com/groupbyinc/flux/repositories/Repository?3()Lcom/groupbyinc/flux/repositories/RepositoryData;????repositoryNameLjava/lang/String;-Lcom/groupbyinc/flux/repositories/Repository;snapshotj(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lcom/groupbyinc/flux/snapshots/SnapshotInfo;java/lang/String?(com/groupbyinc/flux/snapshots/SnapshotId?getName()Ljava/lang/String;??
??java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??currentSnapshots4(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;??
?java/util/List?isEmpty()Z????iterator()Ljava/util/Iterator;????java/util/Iterator?next()Ljava/lang/Object;????inProgressSnapshote(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lcom/groupbyinc/flux/snapshots/SnapshotInfo;??
?getSnapshotInfoX(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lcom/groupbyinc/flux/snapshots/SnapshotInfo;????
snapshotId*Lcom/groupbyinc/flux/snapshots/SnapshotId;entriesILjava/util/List;Ljava/util/List;	snapshotsD(Ljava/lang/String;Ljava/util/List;Ljava/util/Set;Z)Ljava/util/List;java/lang/Exception?java/util/HashSet?
?t(Ljava/util/Collection;)Vk?
??
java/util/Set?stream()Ljava/util/stream/Stream;????"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;??
???&(Ljava/lang/Object;)Ljava/lang/Object;??>(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Ljava/lang/String;?apply()Ljava/util/function/Function;???java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????java/util/stream/CollectorstoList()Ljava/util/stream/Collector;
collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;?hasNext
??add(Ljava/lang/Object;)Z
?*()Lcom/groupbyinc/flux/snapshots/Snapshot;?
(&com/groupbyinc/flux/snapshots/Snapshot
getSnapshotId,()Lcom/groupbyinc/flux/snapshots/SnapshotId;
remove???contains?*com/groupbyinc/flux/snapshots/SnapshotInfo!incompatible#?
"$logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;&'	(?lambda$snapshots$0>(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Ljava/lang/Object;+,
-.getk(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;0126com/groupbyinc/flux/common/apache/logging/log4j/Logger4warnW(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V6758/com/groupbyinc/flux/snapshots/SnapshotException:Snapshot could not be read<f(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/lang/String;Ljava/lang/Throwable;)Vk>
;?java/util/ArrayListA
B?;incompatibleSnapshotIds;Ljava/util/Set;Ljava/util/Set;ignoreUnavailablesnapshotSet=Ljava/util/Set;snapshotIdsToIteratesnapshotListCLjava/util/ArrayList;Ljava/util/ArrayList;$(Ljava/lang/String;)Ljava/util/List;
Bt	emptyList()Ljava/util/List;bc
Kd?>Ljava/util/List;createSnapshot?(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V
access$000T(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;)Ljava/lang/String;jk
	l
access$100nk
	ovalidate'(Ljava/lang/String;Ljava/lang/String;)Vqr
s com/groupbyinc/flux/common/UUIDsurandomBase64UUIDw?
vxkr
?zcause|?
	}9(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/repositories/RepositoryData;Lcom/groupbyinc/flux/snapshots/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)Vk
&?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)V??
??request@Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;listenerGLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;snapshotNamerepositoryData1Lcom/groupbyinc/flux/repositories/RepositoryData;m(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)VgetMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
G?repositories?customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;??
/?9com/groupbyinc/flux/cluster/metadata/RepositoriesMetaData?M(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;??
??;com/groupbyinc/flux/repositories/RepositoryMissingException?(Ljava/lang/String;)Vk?
??state*Lcom/groupbyinc/flux/cluster/ClusterState;repositoriesMetaData;Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData;"com/groupbyinc/flux/common/Strings?	hasLength(Ljava/lang/String;)Z??
??:com/groupbyinc/flux/snapshots/InvalidSnapshotNameException?cannot be empty?9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Vk?
?? ?(Ljava/lang/CharSequence;)Z?
??must not contain whitespace?,?must not contain ','?#?must not contain '#'?charAt(I)C??
??must not start with '_'?java/util/Locale?ROOTLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
??equals?
??must be lowercase?
validFileName??
??java/lang/StringBuilder?
?t*must not contain the following characters ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??INVALID_FILENAME_CHARS?X	??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString??
??
beginSnapshot?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V
getRepository??
?metaData??
G?includeGlobalState??
(?builder9()Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;??
/?indices?c
(?(com/groupbyinc/flux/repositories/IndexId?
??indexH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;
/putn(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Z)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;
-build	?
-
initializeSnapshotl(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V
?
onResponsesendSnapshot:(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V
update_snapshot []?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)Vk
$lambda$beginSnapshot$1K(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Ljava/lang/Object;
 !x(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;0#$?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;Ljava/lang/Exception;)Vk&
'removeSnapshotFromClusterState?(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;)V)*
+*Lcom/groupbyinc/flux/repositories/IndexId;7Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;/Lcom/groupbyinc/flux/cluster/metadata/MetaData;eclusterStatepartialuserCreateSnapshotListenersnapshotCreated??>(Lcom/groupbyinc/flux/repositories/IndexId;)Ljava/lang/String;7?	startTime()J:;
(<>(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;J)Vk>
"?,()Lcom/groupbyinc/flux/cluster/ClusterState;?A
?B?E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom;?E
GF?c
*H_allJsize()ILM?N(I)Ljava/lang/Object;0P?Q$Ljava/util/List;snapshotsInProgress1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress;snapshotShardsO(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)Ljava/util/Map;java/io/IOExceptionXjava/util/HashMapZ
[t
"?/com/groupbyinc/flux/repositories/RepositoryData^resolveIndices`M
_agetSnapshotMetaDatam(Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/metadata/MetaData;cd?e
java/util/MapgresolveIndexId>(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/IndexId;ij
_k7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;?m
/n0?
;pgetNumberOfShardsrM
Xs'com/groupbyinc/flux/index/shard/ShardIdugetIndex#()Lcom/groupbyinc/flux/index/Index;wx
Xy%(Lcom/groupbyinc/flux/index/Index;I)Vk{
v|
shardFailures~c
"findShardFailureo(Ljava/util/List;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;??
?
KtFAILUREDLcom/groupbyinc/flux/index/snapshots/IndexShardSnapshotStatus$Stage;??	I?updateStageG(Lcom/groupbyinc/flux/index/snapshots/IndexShardSnapshotStatus$Stage;)V??
K?2com/groupbyinc/flux/snapshots/SnapshotShardFailure?reason??
??failure??
K?8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?h?/()Lcom/groupbyinc/flux/snapshots/SnapshotState;??
"?+com/groupbyinc/flux/snapshots/SnapshotState?FAILED-Lcom/groupbyinc/flux/snapshots/SnapshotState;??	??skipped??
"?version()Lcom/groupbyinc/flux/Version;??
"?getShardSnapshotStatus?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/repositories/IndexId;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/index/snapshots/IndexShardSnapshotStatus;????unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
K?shardSnapshotStatus>Lcom/groupbyinc/flux/index/snapshots/IndexShardSnapshotStatus;shardId)Lcom/groupbyinc/flux/index/shard/ShardId;shardFailure4Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;iInumberOfShardsindexId
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;snapshotInfo,Lcom/groupbyinc/flux/snapshots/SnapshotInfo;shardStatusxLjava/util/Map;Ljava/util/Map;getIndexName??
v??
??getId?M
v??M
??FLjava/util/List;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEvent?localNodeMaster??
??nodesRemoved??
??processSnapshotsOnRemovedNodes??
?routingTableChanged??
??processStartedShards??
?&removeFinishedSnapshotFromClusterState??
?*finalizeSnapshotDeletionFromPreviousMaster??
? Failed to update snapshot state ?*(Ljava/lang/String;Ljava/lang/Throwable;)V6?5?event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;
previousState?A
??nodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;??
G?isLocalNodeElectedMaster??
S?
?Bsnapshot_deletions?hasDeletionsInProgress??
4?
getEntries?c
4?1only one in-progress deletion allowed per cluster(Ljava/lang/Object;)Vk
?getSnapshot
2getRepositoryStateId	;
2
deleteSnapshotFromRepositorys(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;J)V
?Lcom/groupbyinc/flux/cluster/SnapshotDeletionsInProgress$Entry;deletionsInProgress9Lcom/groupbyinc/flux/cluster/SnapshotDeletionsInProgress;9()Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;?
(	completed?
NremovedNodesCleanupNeeded4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)Z
(update snapshot state after node removal4(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Z)Vk
" 	newMaster waitingShardsStartedOrUnassigned#
$*update snapshot state after shards started&3(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Vk(
 )processWaitingShards?(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/routing/RoutingTable;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;?()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder;?-
;.
;?Gcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor1valueLjava/lang/Object;34	25key74	28
6WAITING7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;;<	N=
vy0com/groupbyinc/flux/cluster/routing/RoutingTable@Z(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable;B
ACidEM
vF5com/groupbyinc/flux/cluster/routing/IndexRoutingTableHshard?(I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;JK
IL:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTableNprimaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;PQ
OR0com/groupbyinc/flux/cluster/routing/ShardRoutingTstartedV?
UW9starting shard that we were waiting for [{}] on node [{}]YnodeId[?
6\trace9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V^_5`
currentNodeIdb?
Uc
6?
9?initializingg?
Uh
relocatingj?
Uk7failing snapshot of shard [{}] on unassigned shard [{}]m6_5o?<	Nqshard is unassigneds^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Ljava/lang/String;)Vku
6v	m
9xshardRouting;ILcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;?Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;5Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;routingTable2Lcom/groupbyinc/flux/cluster/routing/RoutingTable;snapshotChangedshards?Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder;=Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder;STARTED?<	N?waitingIndices?m
(?
;?keysF()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer;??
;?Bcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer???Acom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor?	?5indexRoutingTableChanged??
??getRoutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
G?K(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable;?
A?
unassigned??
U?2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;WLcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor;CLcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor;currSUCCESS?<	N?INIT?<	N?
nodesDelta9()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes$Delta;??
??removedNodes?c
Q??m
(?values@()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer;??
;?;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;indicesWithMissingShards?(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/common/collect/Tuple;MISSING?<	N?com/groupbyinc/flux/index/Index?
??hasIndex??
/?getIndexSafeW(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
/?getState<()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??
X?CLOSE:Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??	V?(com/groupbyinc/flux/common/collect/Tuple?'(Ljava/lang/Object;Ljava/lang/Object;)Vk?
??missing#Ljava/util/Set;closedL(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)V?
??executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
??|(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)Vk?
?$java/util/concurrent/ExecutorService?execute(Ljava/lang/Runnable;)V????l(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;)V(Lcom/groupbyinc/flux/snapshots/Snapshot;%Lcom/groupbyinc/flux/common/Nullable;remove snapshot metadata??(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;)Vk?
?YLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;deleteSnapshoto(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;Z)VgetIncompatibleSnapshotIds()Ljava/util/Collection;
_java/util/Collection?lambda$deleteSnapshot$2?(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;)Z

-(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Ztest2(Ljava/lang/String;)Ljava/util/function/Predicate;filter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;?	findFirst()Ljava/util/Optional;?java/util/Optional	isPresent ?
!#cannot delete incompatible snapshot#
;?getSnapshotIds&
_'lambda$deleteSnapshot$3)
*+lambda$deleteSnapshot$4c(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lcom/groupbyinc/flux/snapshots/SnapshotId;./
01/?lambda$deleteSnapshot$55
676com/groupbyinc/flux/snapshots/SnapshotMissingException:
;z0?
=?(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;)Vk?
@getGenIdB;
_Ct(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;JZ)VE
FGLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;immediatePriorityincompatibleSnapshotId@Ljava/util/Optional;Ljava/util/Optional;matchedEntry#com/groupbyinc/flux/common/PriorityN	IMMEDIATE%Lcom/groupbyinc/flux/common/Priority;PQ	ORNORMALTQ	OUdelete snapshotW?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)VkY
ZrepositoryStateIdJpriorityisRepositoryInUse?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)Zs%lambda$deleteSnapshotFromRepository$6s(Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)Vbc
derun?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)Ljava/lang/Runnable;ghi&removeSnapshotDeletionFromClusterState?(Lcom/groupbyinc/flux/snapshots/Snapshot;Ljava/lang/Exception;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V!remove snapshot deletion metadatam?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;Ljava/lang/Exception;)Vko
pq(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;_na_s((Ljava/lang/String;Ljava/lang/String;I)Vku
vv
missing indexxindex is closedzassignedToNode|?
U}primary shard is not allocatedL(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;)Vk?
6?%primary shard hasn't been started yet?missing routing table?primaryindexRoutingTable	indexName;checkIndexDeletion<(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/Set;)VindicesToFailForCloseOrDeletionJ(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/Set;)Ljava/util/Set;??
?"java/lang/IllegalArgumentException?2Cannot delete indices that are being snapshotted: ?M. Try again after snapshot finishes or cancel the currently running snapshot.?
??currentStateELjava/util/Set;
indicesToFail2Ljava/util/Set;checkIndexClosing1Cannot close indices that are being snapshotted: ?2?
(??
/?addListenerN(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;)V
rKLcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;removeListener
rdoStartdoStopdoClose
removeApplier??
??getRepositoriesService8()Lcom/groupbyinc/flux/repositories/RepositoriesService;.(Lcom/groupbyinc/flux/snapshots/SnapshotId;J)V???kl
?sLcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage?failed to create snapshot [{}]?'(Ljava/lang/String;Ljava/lang/Object;)Vk?
??failed to get snapshot [{}]?
access$200?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Vq?
?x0x1x2
access$300t(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;
access$400j(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
access$500
access$600](Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/threadpool/ThreadPool;
access$700?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V??
?x3x4
access$800?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;?r
?
access$900?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/common/collect/Tuple;??
?access$1000access$1100?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;)Vaccess$1200access$1300h(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/repositories/RepositoriesService;access$1400access$1500access$1600access$1700access$1800?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;JZ)Vaccess$1900access$2000?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/routing/RoutingTable;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;+,
?access$2100access$2200access$2300?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;)V)?
?access$2400access$2500access$2600](Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Ljava/util/concurrent/CopyOnWriteArrayList;access$2700access$2800access$2900access$3000access$3100access$3200access$3300access$3400access$3500?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;J)Vaccess$3600java/lang/ClassdesiredAssertionStatus?
	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableRuntimeVisibleAnnotationsLocalVariableTypeTable?(Ljava/lang/String;Ljava/util/List;Ljava/util/Set;Z)Ljava/util/List;R(Ljava/lang/String;)Ljava/util/List;?(Ljava/lang/String;Ljava/util/List;)Ljava/util/List;
Exceptions?(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)Ljava/util/Map;?(Ljava/util/List;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;~(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/routing/RoutingTable;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;H(Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/common/collect/Tuple;Ljava/util/Set;>;?(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;)V"RuntimeVisibleParameterAnnotations
(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;r(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/Set;)V?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/Set;)Ljava/util/Set;BootstrapMethods
SourceFileInnerClasses!^_`abcdefg	hijTkl
?3*+?p*?rY?u?w*,?y*-?{*?}*?+???,*???>3??3??3^_3`a3bc3de&	wsxyz {&}-2?
?2?????m??
v"*?}+??M???,???Y???,??? "??"??	???	??
????
??*+??Y,??S????N-???*-?????(?а*?}+??,???*?????????+??+?????0?
?0???
???Y??:??Y,??:*+????????	????:??:??0???(:	*	?йW	???W???*?}+??:?:		??m	????:
-
? ?
?%?W?
???W?/:?*?)
?3?9??;Y+
=?@?????BY?C:		?I	?O??????
UPQ	?*RS?[??
????T?VXYj	
ZX\X6???????]_	>TUVW	
Z[\W6???]^	Z?	???6?U?c?s?v????????????????????????
?
E	??	????????6????0?B?????	?`
?H?BY?aM*+?e??N-??:?????(:,*?йfW???,?I,?O?4/
PQH??H??@]?7??@]g7?????/?<???C?
?????%	hi
?K+?mN+?p:-?t??Y?y?{:*?}-????:*?y+?~?&Y*+-,?????HK??K??K??F??@??,??.???????.?J%q?
?5,???????N+?m:-?-???
??Y???+?p?t?45??5??5??'??!??./0!1+344
?!??	
qr
.?+?????Y*+????+??????Y*+????+??????Y*+????+??????Y*+????+??_???Y*+Ƿ??+?Ͷ?+?Ԛ??Y*+ַ??+?ٚ#??Y*+??Y??޶?????????????>78:;+=5>B@LAYCcDpF~G?I?J?N
	&??
)?6*?},????:+??:,???D??:,????:		??#	????:

???W????:,??,???6,??????*,??*?y??Y????,??????$Y*,????0:*?),?%?9*,??Y*,?(?,????????pF-
%<?.?????/?+0S????1???Q?2j?3??4jV^`bc e%fFgWhZialumxn?p?q?r?t??????????
C?0
G(?/-??)?/?2G(?,??
q1?"Y+??+???5?9????	??+?=?@?1??1PQ??*?0???
?	J*?y?CD?G?*N-?-?I????e?K+?ԙ-?I?-?I?O?p-?I?R?(:???+?Ԛ?e?,???@,??:??*????:?????ԙ-?I???Ҹe?-?I??BY?a:-?I??:??{???(:???+?Ԛ???,???G,??:??2????:?????ԙ?fW???ʧ
?fW????O?\	???P^PQ ???iPQJ??J??J??9TU????J?S????v!%/4	AP
_cl?????????? ?!"$#.$1&7(A*D+
>?!*?.(??-??????'(??5??	?	VW
??[Y?\N*?}+??:??:,,?]?b?f:,?]??:???????:?l:	?o?q?X:

??
?t66???vY
?z?}:
*,??
??:?,?KY??:????????-
??W?I,??????KY??:????????,??,??	
??:-
??W???f??&-????????????????
?t??v???s???X??-	g???
O??????????	????.??/??z<=>?.@OAXBgClDsE}F?G?H?I?J?K?L?M?O?W?X?Y?[?\?]?[a
Eef
??9?"h?_/??<
?"h?_/???X?Pv?%?K?
??"h?_/??Y	??
?>+??N-??/-????:,???Ƕԙ,???̠?????*??>??>~?>??>~?kl6m9o<p
??1?	??
?;+?ԙ%+?י*+??+?ݙ*+??*+??*+??M*?)?,???),? -
0S;??;??.vwxz{}$~)?,?-?:?

	B?
??
?g+?ԙb+??????U+????G?4M,?C,????/:+?0:??????2:?6?6:?9?v:?:?>??,???D:		?y	?G?M:

?h
?S?`
?S?X?2>*?)Z?]?a?6Y
?S?d?e?fW??k
?S?i?
?S?l??fW??H>*?)n?]?p?6Y?]?rt?w?fW?
?fW??	?	?y??f
^jz{
M?|}	-??~7???#????V????j?? #??V???n)*+#,--7.B/M0R1^2k3v5x6?7?8?9?;?<?A?B?C?D?EGHIK
@?
9???;A9?26vIO??1?	?		#
??+??D?G?*M,??,?I??N-???-???(:?????????????????:???????:+???????m+??????????:?????q????:??8???v:		?G?M?S:

?
?X?
??????ħ?q??5?R?z?
?&??	?V|}ky?0?PQ????????Uky?>PQR0SFTkUzV?W?X?Y?Z?\?^?`?b
5?*??8(??O?I??9vU????
?
?+??D?G?*M,??+???????>,?I??:??????(:??????????+??????:??c????:??????:??;????:		???6?:????	???6?]?ԙ?????????V?H?)??	?Q??H??Q???????TU'?"j?)??	>fghk'lHmbodq?r?s?u?w?x?y?z
2?*@???/(?
??$??>?????
s???Y??N??Y??:+?0:??~???2:?6?6?:?˦^,?9?v???ζљ4,?9?v???նٲݦ?9?v???ιW?-?9?v???ιW??~??Y-??>-lP?????????/??X??X*-lP??????????&	???-?>?k???????
?????l2??	
?*+????PQ
???
\*????Y*+,???? ??PQ??
??)?
U	*+,-?,?*	??	??	??	0S
??)*
?	*?y??Y*+,-?????4???????S???
?
	
?
?	?*?}+??:??:??	,???:?"??;Y+,$?%??(?	,?-??:?"?,*+?e???5?4??,?9??:?"?
?;Y+,????A-?D?G?\	???????????H?Ij
??????/?JL``ML/?JK``MKF
/7DIT Y!`#h$z%?'?(?*?+
?D?_?LE
?
(?	?S??V:*?yX?Y*+!,?[???>(??(??(?H(\](Ij^Q89'?
BO	_`
5?*D?G?*M,?5,?I??N-??"-???(:+???ԙ????*??G?4N-?8-???:??#???2:???+?ԙ?????>-?QqP?1????|?UL;6
???-?<?>?A?L?P?q???????
?*?$??4?&?

e*???*+!,?j???*?????H\]
???kl
b*?yn?Y*+-,?q???*?????S?H
?#???r
!
??/N+??:,??:??l????:?:?:?&-?vYt?w?6Y??y?w?fW?%?ٲݦ>6		?t?.?vY?z	?}:
-
?6Y??{?w?fW?	??Χ?+????:	6

?t?ǻvY?z
?}:	??	
?M?S:??~?-?6Y????w?fW?c?l??i?-?6Y?d?>???fW?:?X?-?6Y?d????w?fW?-?6Y?d?e?fW?-?6Y????w?fW?
??5???-?y?????
n5??	????????????
???}	/S??8J??(Z-????1???????
??/??????v-.
/(0/182=4`5k6x7?8?6?;?<?=?>???@?ABD-E5FQHdJgK|<?O?Q
Y?9/??M??X?
?4?
I?7vU#???G?9/??		??
?-*+??M,?%??Y??Y?????,????????? -??-?X'?X-??'??YZ
[,^
?,?		??
?-*+??M,?%??Y??Y?????,????????? -??-?X'?X-??'??ef
g,j
?,?	
??
[	*D?G?*MN,?,?I??:??????(:????????a????:??H????:*????:?&+? ?-???Y??N-?z?W????y???0:??e???2:?6?6?:??E*???9?v????:?,+? ?!-???Y??N-?9?v???W?????-?\	u(??g6-?.???SJ?2?PQ???X?U
?X ?SJ???
??^mn
op2q:rEsgtuu?v?w?y?{?}?~???????????
??*???4(????X???	??V2X???	??
B
*?w+??W?
??
??
?	???
B
*?w+??W?
??
??
?	??s
+?????s
+?????s
7	*?y*???	??
????
/*?}????bc
?0*?}+???:+? ??*+???:*+???!$?>
??&	RS0??0??0\]0?H?
??!?$?&?/?
d?
?
5
=	+??*?Ԭ	??	??%
./
2*???0Q%
)
=	+??*?Ԭ	??	?? 

=	*+???Ԭ	??	??

<??Y?*??????Q?
+,
6??Y?*????????
E*+,?ı ??????i??
/*?{???i??
/*?)???i??
/*?)???i??
/*????i??
\
*+,?ұ4
??
??
?Q
?j
??i??
E*+,?ذ ??????i??
E*+,?ܰ ?????/i??
/*?)???i??
\
*+,-?,?4
??
??
??
?S
?i??
E*+,?? ???Q??i??
/*?}???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i??
\
*+,!?G?4
??
??
?H
?]
?ji??
/*?)???i??
E*+,??? ??????i??
/*?)???i??
/*?)???i??
P*+,-??*???????Si??
/*?)???i??
/*?)???i??
/*?w???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i??
/*?)???i
P*+,!??*?????H?]i?
/*?)???is
4??????i
@\	?????*/*?*"*??68?
?
,??23?
8?afa?	
	
			 "$&(*+	-/0	24+6*7	9;0	=?@	B/C	EGC	IKL@N*O@QST	VXO@Z\]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy