
com.groupbyinc.flux.snapshots.SnapshotsService$7.class Maven / Gradle / Ivy
???? 3 0com/groupbyinc/flux/snapshots/SnapshotsService$7 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService deleteSnapshot {(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V 2com/groupbyinc/flux/snapshots/SnapshotsService$7$1 Ecom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener
DeleteSnapshotListener Ccom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus /com/groupbyinc/flux/cluster/SnapshotsInProgress ShardSnapshotStatus java/util/Map$Entry
java/util/Map Entry Ecom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder =com/groupbyinc/flux/common/google/common/collect/ImmutableMap Builder 5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry /com/groupbyinc/flux/cluster/ClusterState$Custom ! (com/groupbyinc/flux/cluster/ClusterState # Custom 5com/groupbyinc/flux/cluster/SnapshotsInProgress$State & State 0com/groupbyinc/flux/cluster/ClusterState$Builder ) Icom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener + SnapshotCompletionListener waitForSnapshot Z val$snapshotId 1Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; val$listener GLcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener; this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V 4 5 8 0 1 : 2 3 < ()V 6 >
? . / A this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$7; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; java/lang/Exception G snapshots I custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; K L
$ M snapshot j(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;)Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; O P
Q entries ()Ljava/util/List; S T
U java/util/List W isEmpty ()Z Y Z X [ Bcom/groupbyinc/flux/snapshots/ConcurrentSnapshotExecutionException ] 3another snapshot is currently running cannot delete _ F(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Ljava/lang/String;)V 6 a
^ b state 9()Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; d e
f STARTED 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; h i ' j shards A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; l m
n builder I()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; p q
r entrySet A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet; t u
v =com/groupbyinc/flux/common/google/common/collect/ImmutableSet x iterator I()Lcom/groupbyinc/flux/common/google/common/collect/UnmodifiableIterator; z {
y | java/util/Iterator ~ hasNext ? Z ? next ()Ljava/lang/Object; ? ? ? getValue ? ? ?
f completed ? Z
' ? getKey ? ? ? nodeId ()Ljava/lang/String; ? ?
? ABORTED ? i ' ? L(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;)V 6 ?
? put m(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ? ?
? build ? m
? INIT ? i ' ? endSnapshot :(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V ? ?
? values H()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableCollection; ? ?
? Dcom/groupbyinc/flux/common/google/common/collect/ImmutableCollection ?
? | nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; ? ?
$ ? /com/groupbyinc/flux/cluster/node/DiscoveryNodes ? get D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ?
? ? access$2600 _(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? ?
? Utrying to delete completed snapshot - should wait for shards to finalize on all nodes ? java/lang/Object ? +com/groupbyinc/flux/common/logging/ESLogger ? debug ((Ljava/lang/String;[Ljava/lang/Object;)V ? ? ? ? access$2700 ? ?
? Vtrying to delete completed snapshot with no finalizing shards - can delete immediately ? ?(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;)V 6 ?
? ;([Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V 6 ?
? ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; p ?
$ ? putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
* ? ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
* ? status ELcom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus;
shardEntry ?Ljava/util/Map$Entry; Ljava/util/Map$Entry;
shardsBuilder ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; GLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; shardStatus hasUncompletedShards newSnapshot 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; currentState *Lcom/groupbyinc/flux/cluster/ClusterState; 1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress; onFailure *(Ljava/lang/String;Ljava/lang/Throwable;)V (Ljava/lang/Throwable;)V ? ? ? source Ljava/lang/String; t Ljava/lang/Throwable; clusterStateProcessed i(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)V access$2800 ? ?
? Jadding snapshot completion listener to wait for deleted snapshot to finish ? trace ? ? ? ? 5(Lcom/groupbyinc/flux/snapshots/SnapshotsService$7;)V 6
addListener N(Lcom/groupbyinc/flux/snapshots/SnapshotsService$SnapshotCompletionListener;)V
access$3200 ?
0deleted snapshot is not running - deleting files access$3000
7
oldState newState Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions
SourceFile EnclosingMethod InnerClasses . / 0 1 2 3 4 5 6 7 Q *+? 9*,? ;*-? =*? @*? B? C D 4 5
f h E F Y ?+J? N? M,? +?,*? ;? RN-? ,? V? \ ? ? ^Y*? ;`? c?+?*? B-? g? k? ?-? o? |? s:-? o? w? }:? ? ? W? ? ? :? ? ? :? ?? ?? "? ? ? Y? ?? ?? ?? ?W? ? ? ? ?W???? ?:? ?-? g? ?? -? o:*? 9-? ?? ?6-? o? ?? ?:? ? ? :? ? ? :? ?? ?? ? ?? +? ?? ?? ?? 6? ???? *? 9? ??? ?? ? +?*? 9? ??? ?? ? -? o:*? 9-? ?? Y-? ?? ?:? Y? YS? ?M+? ?J,? ٶ ܰ ?
? 9 ? ? v E ? ? T q ? ? ? l ? ? l ? ( ? ? ? ? ? / d 6 l ? { ? ? ? C D ? ? ?
? I ? ? O ? 4 v E ? ? T q ? ? ? l ? ? l ? d 6 l ? ? $ l
m o q r t )v 7x 9{ >} O T? v? ?? ?? ?? ?? ?? ?? ?? ?? ?? ???*?-?0?3?8?J?L?^?d?l?{??? Q ? ? & ? & ? K ? ? ? ? =? ? $ H ? ? M *? =,? ? ? C D ? ? ? ?
?
? ? ? ? N*? B? '*? 9? ??? ?? *? 9? Y*??? %*? 9?
? ?? *? 9*? ;*? =?? * N C D N ? ? N ? N ? ? ? ? +? >? M? +!
Z " $ % ' (@ * $ , -
© 2015 - 2025 Weber Informatics LLC | Privacy Policy