com.groupbyinc.flux.snapshots.SnapshotsService$3.class Maven / Gradle / Ivy
???? 4
0com/groupbyinc/flux/snapshots/SnapshotsService$3 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService processSnapshotsOnRemovedNodes 4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V 2com/groupbyinc/flux/snapshots/SnapshotsService$3$1 Ccom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus
/com/groupbyinc/flux/cluster/SnapshotsInProgress ShardSnapshotStatus ;com/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder 3com/groupbyinc/flux/common/collect/ImmutableOpenMap Builder 5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry Entry /com/groupbyinc/flux/cluster/ClusterState$Custom (com/groupbyinc/flux/cluster/ClusterState Custom 5com/groupbyinc/flux/cluster/SnapshotsInProgress$State State Ecom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener " DeleteSnapshotListener 0com/groupbyinc/flux/cluster/ClusterState$Builder %
val$newMaster Z this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; 4(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Z)V ) * - ' ( / ()V + 1
2 this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$3; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; java/lang/Exception 8 nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; : ;
< snapshots > custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; @ A
B /com/groupbyinc/flux/cluster/node/DiscoveryNodes D java/util/ArrayList F
G 2 entries ()Ljava/util/List; I J
K java/util/List M iterator ()Ljava/util/Iterator; O P N Q java/util/Iterator S hasNext ()Z U V T W next ()Ljava/lang/Object; Y Z T [ state 9()Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; ] ^
_ STARTED 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; a b c ABORTED e b f builder ?()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap$Builder; h i
j shards 7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; l m
n
Q Gcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor q value Ljava/lang/Object; s t r u
_ completed x V
y nodeId ()Ljava/lang/String; { |
}
nodeExists (Ljava/lang/String;)Z ?
E ? key ? t r ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? access$1500 S(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lorg/apache/logging/log4j/Logger; ? ?
? 2failing snapshot of shard [{}] on closed node [{}] ? org/apache/logging/log4j/Logger ? warn 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? FAILED ? b ?
node shutdown ? ^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Ljava/lang/String;)V + ?
? build ? m
? values @()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer; ? ?
? A(Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer;)Z x ?
? SUCCESS ? b ? ?(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;)V + ?
? endSnapshot :(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V ? ?
? add (Ljava/lang/Object;)Z ? ?
G ? INIT ? b ? snapshot *()Lcom/groupbyinc/flux/snapshots/Snapshot; ? ?
? l(Lcom/groupbyinc/flux/snapshots/SnapshotsService$3;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V + ?
? getRepositoryStateId ()J ? ?
? access$1800 ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;JZ)V ? ?
? size ()I ? ?
G ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ?
G ? 8[Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; ? ;([Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V + ?
? ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; h ?
? putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
&