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

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

There is a newer version: 198
Show newest version
????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$70com/groupbyinc/flux/snapshots/SnapshotsService$60com/groupbyinc/flux/snapshots/SnapshotsService$50com/groupbyinc/flux/snapshots/SnapshotsService$40com/groupbyinc/flux/snapshots/SnapshotsService$30com/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$Entry/7com/groupbyinc/flux/cluster/SnapshotDeletionsInProgress1Ccom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus3ShardSnapshotStatus;com/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder63com/groupbyinc/flux/common/collect/ImmutableOpenMap8/com/groupbyinc/flux/threadpool/ThreadPool$Names:)com/groupbyinc/flux/threadpool/ThreadPool<Names4com/groupbyinc/flux/cluster/metadata/MetaData$Custom?Custom/com/groupbyinc/flux/cluster/ClusterState$CustomB(com/groupbyinc/flux/cluster/ClusterStateD5com/groupbyinc/flux/cluster/SnapshotsInProgress$StateFState5com/groupbyinc/flux/cluster/node/DiscoveryNodes$DeltaI/com/groupbyinc/flux/cluster/node/DiscoveryNodesKDelta8com/groupbyinc/flux/cluster/metadata/IndexMetaData$StateN2com/groupbyinc/flux/cluster/metadata/IndexMetaDataP%java/lang/invoke/MethodHandles$LookupRjava/lang/invoke/MethodHandlesTLookupclusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;repositoriesService6Lcom/groupbyinc/flux/repositories/RepositoriesService;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;snapshotCompletionListeners+Ljava/util/concurrent/CopyOnWriteArrayList;xLjava/util/concurrent/CopyOnWriteArrayList;$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dg
h)java/util/concurrent/CopyOnWriteArrayListj()Vdl
km_`	oWX	qYZ	s[\	u]^	w.com/groupbyinc/flux/cluster/node/DiscoveryNodeyisMasterNode1(Lcom/groupbyinc/flux/common/settings/Settings;)Z{|
z}2com/groupbyinc/flux/cluster/service/ClusterServiceaddLowPriorityApplier4(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;??
??bc	?java/lang/AssertionError?
?m+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;(com/groupbyinc/flux/snapshots/SnapshotId?getName()Ljava/lang/String;??
??java/util/Collections?
singletonList$(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?
?m(Ljava/util/Collection;)Vd?
??
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/Collectors?toList()Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????java/lang/StringhasNext??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?
logger!Lorg/apache/logging/log4j/Logger; 	!,()Lorg/apache/logging/log4j/message/Message;#lambda$snapshots$0V(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lorg/apache/logging/log4j/message/Message;%&
'(get[(Lcom/groupbyinc/flux/snapshots/SnapshotId;)Lorg/apache/logging/log4j/util/MessageSupplier;*+,org/apache/logging/log4j/Logger.warnG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V01/2/com/groupbyinc/flux/snapshots/SnapshotException4Snapshot could not be read6f(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/lang/String;Ljava/lang/Throwable;)Vd8
59java/util/ArrayList;
<?timSort(Ljava/util/List;)V@A
?BunmodifiableList"(Ljava/util/List;)Ljava/util/List;DE
?Fentry7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;exLjava/lang/Exception;snapshotIds;incompatibleSnapshotIds;Ljava/util/Set;Ljava/util/Set;ignoreUnavailablesnapshotSet=Ljava/util/Set;snapshotIdsToIteratesnapshotListCLjava/util/ArrayList;Ljava/util/ArrayList;$(Ljava/lang/String;)Ljava/util/List;
<m	emptyList()Ljava/util/List;Z[
?\?>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;bc
	d
access$100fc
	gvalidate'(Ljava/lang/String;Ljava/lang/String;)Vij
k com/groupbyinc/flux/common/UUIDsmrandomBase64UUIDo?
npdj
?rcauset?
	u9(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dw
$xsubmitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)Vz{
?|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;??
E?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d?
??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d?
?? ?(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?
?m*must not contain the following characters ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??INVALID_FILENAME_CHARS?P	??-(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??
E?includeGlobalState??
&?builder9()Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;??
-?indices?[
&?(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?snapshot [{}] startedinfo'(Ljava/lang/String;Ljava/lang/Object;)V
/
onResponselendSnapshot:(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d
"lambda$beginSnapshot$1c(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lorg/apache/logging/log4j/message/Message;
h(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lorg/apache/logging/log4j/util/MessageSupplier;*!"?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;Ljava/lang/Exception;)Vd$
%removeSnapshotFromClusterState?(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener;)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;5?	startTime()J89
&:java/lang/Boolean<valueOf(Z)Ljava/lang/Boolean;>?
=@Q(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;JLjava/lang/Boolean;)VdB
C,()Lcom/groupbyinc/flux/cluster/ClusterState;?E
?F?E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom;?I
EJ?[
(L_allNsize()IPQ?R(I)Ljava/lang/Object;*T?U$Ljava/util/List;snapshotsInProgress1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress;snapshotShards?(Ljava/lang/String;Lcom/groupbyinc/flux/repositories/RepositoryData;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;)Ljava/util/Map;java/io/IOException\java/util/HashMap^
_m
?
java/util/Mapb/com/groupbyinc/flux/repositories/RepositoryDatadresolveIndexId>(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/IndexId;fg
eh?
jgetSnapshotIndexMetaData?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Lcom/groupbyinc/flux/repositories/IndexId;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;lm?ngetNumberOfShardspQ
Qq'com/groupbyinc/flux/index/shard/ShardIdsgetIndex#()Lcom/groupbyinc/flux/index/Index;uv
Qw%(Lcom/groupbyinc/flux/index/Index;I)Vdy
tz
shardFailures|[
}findShardFailureo(Ljava/util/List;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/snapshots/SnapshotShardFailure;?
?2com/groupbyinc/flux/snapshots/SnapshotShardFailure?reason??
??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??
t???
??getId?Q
t??Q
??FLjava/util/List;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEvent?localNodeMaster??
??nodesRemoved??
??
previousState?E
??nodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;??
E?isLocalNodeElectedMaster??
L?processSnapshotsOnRemovedNodes??
?routingTableChanged??
??processStartedShards??
?&removeFinishedSnapshotFromClusterState??
?*finalizeSnapshotDeletionFromPreviousMaster??
? Failed to update snapshot state ?*(Ljava/lang/String;Ljava/lang/Throwable;)V0?/?event1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;
?Fsnapshot_deletions?hasDeletionsInProgress??
2?
getEntries?[
2?1only one in-progress deletion allowed per cluster?(Ljava/lang/Object;)Vd?
??getSnapshot?

0?getRepositoryStateId?9
0deleteSnapshotFromRepositorys(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?
G
removedNodesCleanupNeeded4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)Z
(update snapshot state after node removal4(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Z)Vd
 	newMaster waitingShardsStartedOrUnassigned
*update snapshot state after shards started3(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Vd
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;?#
9$
9?Gcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor'valueLjava/lang/Object;)*	(+key-*	(.
4
WAITING7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;12	G3
tw0com/groupbyinc/flux/cluster/routing/RoutingTable6Z(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable;?8
79id;Q
t<5com/groupbyinc/flux/cluster/routing/IndexRoutingTable>shard?(I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;@A
?B:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTableDprimaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;FG
EH0com/groupbyinc/flux/cluster/routing/ShardRoutingJstartedL?
KM9starting shard that we were waiting for [{}] on node [{}]OnodeIdQ?
4Rtrace9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VTU/V
currentNodeIdX?
KY
4?
7?initializing]?
K^
relocating`?
Ka7failing snapshot of shard [{}] on unassigned shard [{}]c0U/e?2	Ggshard is unassignedi^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Ljava/lang/String;)Vdk
4l7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;n
7o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?2	G?waitingIndices?n
&?
9?keysF()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer;??
9?Bcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer???Acom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor?	?+indexRoutingTableChanged??
??getRoutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
E?K(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable;??
7?*?
9?
unassigned??
K?2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;WLcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor;CLcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectCursor;currSUCCESS?2	G?INIT?2	G?
nodesDelta9()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes$Delta;??
??removedNodes?[
J?~n
&?values@()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer;??
9?;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?2	G?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;??
Q?CLOSE:Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??	O?(com/groupbyinc/flux/common/collect/Tuple?'(Ljava/lang/Object;Ljava/lang/Object;)Vd?
??missing#Ljava/util/Set;closedL(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)V?
??executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
=?llambda$endSnapshot$3??
??run?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)Ljava/lang/Runnable;???$java/util/concurrent/ExecutorService?execute(Ljava/lang/Runnable;)V????failurel(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/snapshots/SnapshotsService$CleanupAfterErrorListener;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;)Vd?
?JLcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener;deleteSnapshoto(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;Z)VgetIncompatibleSnapshotIds()Ljava/util/Collection;
ejava/util/Collection?lambda$deleteSnapshot$4?(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"
5?getSnapshotIds%
e&lambda$deleteSnapshot$5(
)*lambda$deleteSnapshot$6c(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lcom/groupbyinc/flux/snapshots/SnapshotId;-.
/0.?lambda$deleteSnapshot$74
566com/groupbyinc/flux/snapshots/SnapshotMissingException9
:r*?
<?(Ljava/lang/String;Lcom/groupbyinc/flux/snapshots/SnapshotId;)Vd>
?getGenIdA9
eBt(Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;JZ)VD
EGLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;immediatePriorityincompatibleSnapshotId@Ljava/util/Optional;Ljava/util/Optional;matchedEntry#com/groupbyinc/flux/common/PriorityM	IMMEDIATE%Lcom/groupbyinc/flux/common/Priority;OP	NQNORMALSP	NTdelete snapshotV?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)VdX
YrepositoryStateIdJpriorityisRepositoryInUse?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)Z%lambda$deleteSnapshotFromRepository$8s(Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V`a
bc?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;JLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)Ljava/lang/Runnable;?e	f&removeSnapshotDeletionFromClusterState?(Lcom/groupbyinc/flux/snapshots/Snapshot;Ljava/lang/Exception;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V!remove snapshot deletion metadataj?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;Ljava/lang/Exception;)Vdl
mq(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;_na_p((Ljava/lang/String;Ljava/lang/String;I)Vdr
ts
missing indexuindex is closedwassignedToNodey?
Kzprimary shard is not allocated|L(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;)Vd~
4%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: ?0?
&???
-?addListenerN(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;)V
kKLcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;removeListener
kdoStartdoStopdoClose
removeApplier??
??getRepositoriesService8()Lcom/groupbyinc/flux/repositories/RepositoriesService;.(Lcom/groupbyinc/flux/snapshots/SnapshotId;J)V???snapshot [{}] deleted?hi
?s@[{}] finalizing snapshot in repository, state: [{}], failure[{}]?K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)VT?/?failed??
G?
4?P(Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)Vd?
??
<
9R
&finalizeSnapshot?(Lcom/groupbyinc/flux/snapshots/SnapshotId;Ljava/util/List;JLjava/lang/String;ILjava/util/List;JZ)Lcom/groupbyinc/flux/snapshots/SnapshotInfo;????'?
?'snapshot [{}] completed with state [{}]?
U/?lambda$endSnapshot$2T(Lcom/groupbyinc/flux/snapshots/Snapshot;)Lorg/apache/logging/log4j/message/Message;??
??Y(Lcom/groupbyinc/flux/snapshots/Snapshot;)Lorg/apache/logging/log4j/util/MessageSupplier;*?
?statusKLjava/util/ArrayList;5org/apache/logging/log4j/message/ParameterizedMessage? [{}] failed to finalize snapshot?d
??failed to create snapshot [{}]?failed to get snapshot [{}]?
access$200?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Vi?
?x0x1x2
access$300t(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;
access$400S(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lorg/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;~o
?
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/snapshots/SnapshotsService$CleanupAfterErrorListener;)Vaccess$1200access$1300|(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)Vaccess$1400h(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/repositories/RepositoriesService;access$1500access$1600access$1700access$1800access$1900?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;JZ)Vaccess$2000access$2100?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;Lcom/groupbyinc/flux/cluster/routing/RoutingTable;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;!"
access$2200access$2300access$2400](Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Ljava/util/concurrent/CopyOnWriteArrayList;access$2500access$2600access$2700access$2800access$2900access$3000access$3100access$3200access$3300access$3400?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;J)Vaccess$3500java/lang/Class$desiredAssertionStatus&?
%'	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/repositories/RepositoryData;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;>;"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!WXYZ[\]^_`)abcUde*?3*+?i*?kY?n?p*,?r*-?t*?v*?x+?~?,*???+>3??3??3WX3YZ3[\3]^,&	vrwxy z&|-~2?-?2????=.f??*v"*?v+??M???,???Y???,???+ "??"??	??,?	??-????*?8*+,??????N-???*-?????&?ǰ*?v+??,???+*8??8??8??
+??/
+??,?
??)?-?)???*???Y??:??Y,??:*+?????????????:??:??0???&:	*	?ǹ	W	???W???*?v+??:?:		??m	????:
-
??
??	W?
???	W?/:?*?"
?-?3??5Y+
7?:?????LMNO	
RSTO6???UV	,Z?	???6?U?c?s?v????????????????????????
?-E	??	???????6????0?B?????)0?X*?H?679:+<5=B?L@YBcCpE~F?H?I?M-	&??*=6*?v,????:+??:,??D??:,????:		??#	????:

?????W????:,??,???6*?"	,??
,??????*,??*?r??Y????,????ڶ?"Y*,??}?0:*?",?#?3*,??Y*,?&?*????????+pF?+
%<?,?????-?+.K??/??I0c1??2c,Z]_ab d%eFfWgZhakulxn?o?q?r?s?u?????????-C?0
E&?-+??)???2E&?,??*x8?Y+??+???3?7???????+?;+??A?D?+8??8HI,
*7
??*?	J*?r?GH?K?(N-?-?M????]?O+?̙-?M?-?M?S?p-?M?V?&:???+?̚?]?,???@,??:??*???:?????̙-?M???Ҹ]?-?M??7@ABDC->?!(?.&??-??????'&??5??	?)2Z[*e?*?v+??:?_Y?`:-?a??:??????:,?i:-?k?o:		??	?r6
6
?u?tY	?x?{:*-?~??:

?
??????W?9-????????:?-?k-????:??W??????K???+???????q\??}P??
Zy??W|??
<??+K???	4???????????????
??????/???,ZU
VW4X<YKZP[W\a]q^}_?`?c?k?m?n?o?m?s?\?w?x-g??c??;e?c??Q?<t?????e?c??3])4?*?>+??N-??/-????:,?????̙,??? ?????+*??>??>|?>??/>|?,|}6~9?<?-??1?)5??*?H+?ʙ2+?͚+?жԶך*+??+?ݙ*+??*+??*+??M*?"?,???69?+ :
.KH??H??,.??? ?'?,?1?6?9?:?G?-	B?
??*?g+?ʙb+?жԶךU+???K?2M,?C,???%:+?&:??????(:?,?4:?/?t:?0?4??,?5?::		?y	?=?C:

?h
?I?`
?I?N?2>*?"P?S?W?4Y
?I?Z?[?\W??k
?I?_?
?I?b??\W??H>*?"d?S?f?4Y?S?hj?m?\W?
?\W??	?	?p??+f
^jqr
M?st	-??u7???#?vx??Zz{|}c~?/ #?vwZy~,n@AB#C-D7EBFMGRH^IkJvLxM?N?O?P?R?S?X?Y?Z?[?\^_`b-@?
7???977?(4t?E??1?	?	)6*??+??H?K?(M,??,?M??N-???-???&:?????????????????:???????:+??????p+????????:???????????:??8???t:		?=?C?I:

?
?N?
??????ħ?n??2?+R?q?
?&??	?Ystk|??0?HI????????Y/k|??,>ghi0jFkklzm?n?o?p?q?s?u?w?y-5?(??8&??R????9tK????*?
?+??H?K?(M,??+?жԶך?>,?M??:??????&:??????????+??????:??c???z:??????:??;????:		???4?0????	???4?S?̙?????????V?+H?)??	?Q??H??I???????XY'?c/?)??	,>}~?'?H?b?d???????????????-2?(@???/&?
??$z?>?????*s???Y??N??Y??:+?&:??~???(:?,?4?0?Ħ^,?/?t?5?Ƕʙ4,?/?t?5?ζҲ֦?/?t?5?ǹ	W?-?/?t?5?ǹ	W??~??Y-?۰+>-lHx????~z??-??P??P/*-lHw?~y??????,&	???-?>?k???????-?????l(??)7*?*+??+??HI,
???*Z*?x??*+,?????+ ??HI??,
??'?*U	*+,-?*?+*	??	??	??	.K,
??'(*n	*?r??Y*+,-???}?+4???????K??,
?'8
?*?	?*?v+??:??:??,???:?!??5Y+,#?$??'?,?,??:?!?,*+?]???3?3??,?8??:?!?
?:Y+,?;?*?Y+?=???@-?C?F?+\	???????????G?Hc
??????/?IK``LK//?IJ``LJ,F4
567/879D;I<T=Y>`@hAzB?D?E?G?H-?D?e?LD*?
(?	?R??U:*?rW?Y*+!,?Z?}?+>(??(??(?G([\(Hc]P,UV'?-BN	^_*5?*H?K?(M,?5,?M??N-??"-???&:+???̙????*?K?2N-?8-????:??#???0:????+?̙?????+>-?IqH?/????|?YL;,6
???-?<?>?A?LPq???-?(?$??2?&?*e*?x??*+!,?g???+*?????G[\,
8?hi*b*?rk?Y*+-,?n?}?+*?????K?G,
%K8??~o*!
??%N+??:,??:??l????:??:??:?&-?tYq?t?4Y??v?m?\W?%?Ҳ֦>6		?r?.?tY?x	?{:
-
?4Y??x?m?\W?	??Χ?+????:	6

?r?ǻtY?x
?{:	??	
?C?I:??{?-?4Y??}?m?\W?c?b??_?-?4Y?Z?4???\W?:?N?-?4Y?Z????m?\W?-?4Y?Z?[?\W?-?4Y????m?\W?
??5???-?p?+????
n5??	????????????
???t	/S??8J??(Z?+????/???????
??-/?????,vUV
W(X/Y8Z=\`]k^x_?`?^?c?d?e?f?g?h?ijl-m5nQpdrgs|d?w?y-Y?7-??M?Q?
?4?
??7tK#???E?7-??)9	??*?-*+??M,?%??Y??Y?????,????ڶ????+ -??-?P'?P/-??'??,??
?,?-?,?):	??*?-*+??M,?%??Y??Y?????,????ڶ????+ -??-?P'?P/-??'??,??
?,?-?,?):
??*[	*H?K?(MN,?,?M??:??????&:????????a????:??H????:*??????:?&+??-???Y??N-?x?	W????y???&:??e???(:?,?4?0??E*???/?t?5??:?,+??!-???Y??N-?/?t?5?	W?????-?+\	u(??g6?+?.???S@x2?HI???P?Y
?P/ ?S@w??
??,^??
??2?:?E?g?u?????????????????????????-??(???4&????Q???	??V(Q???);??*B
*?p+??W?+
??
??,
?	???*B
*?p+??W?+
??
??,
?	??l*+?+??,??l*+?+??,??l*7	*?r*???+	??,
????*/*?v?+??,?`a*?=*?v+???:+? ??*?"?+?
*+???:*+???.1?+>
!??3	JK=??=??=[\=?G,"
&.13<-q?

4*=	+??*?̬+	??	??,B
-.*2*???+.I,B
(*=	+??*?̬+	??	??,=

*=	*+???̬+	??	??,7??*A
?+?N*?v-???:*?"?-+?,????	
	
			 "$&()	+-.	02)4(5	79.	;=>	@-A	CEA	G(H@JLM	OQH@SUV




© 2015 - 2024 Weber Informatics LLC | Privacy Policy