
com.groupbyinc.flux.snapshots.SnapshotsService$3.class Maven / Gradle / Ivy
???? 3 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 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 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 - . 1 + , 3 ()V / 5
6 this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$3; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; java/lang/Exception < nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; > ?
! @ snapshots B custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; D E
! F /com/groupbyinc/flux/cluster/node/DiscoveryNodes H java/util/ArrayList J
K 6 entries ()Ljava/util/List; M N
O java/util/List Q iterator ()Ljava/util/Iterator; S T R U java/util/Iterator W hasNext ()Z Y Z X [ next ()Ljava/lang/Object; ] ^ X _ state 9()Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; a b
c STARTED 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; e f $ g ABORTED i f $ j builder I()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; l m
n shards A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; 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 I()Lcom/groupbyinc/flux/common/google/common/collect/UnmodifiableIterator; S z
y { getValue } ^ ~
c completed ? Z
$ ? nodeId ()Ljava/lang/String; ? ?
?
nodeExists (Ljava/lang/String;)Z ? ?
I ? put ^(Ljava/util/Map$Entry;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ? ?
? access$1500 _(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? ?
? 2failing snapshot of shard [{}] on closed node [{}] ? java/lang/Object ? getKey ? ^ ? +com/groupbyinc/flux/common/logging/ESLogger ? warn ((Ljava/lang/String;[Ljava/lang/Object;)V ? ? ? ? FAILED ? f $ ?
node shutdown ? ^(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Ljava/lang/String;)V / ?
? m(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; ? ?
? build ? q
? values H()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableCollection; ? ?
? (Ljava/util/Collection;)Z ? ?
? SUCCESS ? f $ ? ?(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;)V / ?
? endSnapshot :(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V ? ?
? add (Ljava/lang/Object;)Z ? ?
K ? INIT ? f $ ?
snapshotId 3()Lcom/groupbyinc/flux/cluster/metadata/SnapshotId; ? ?
? l(Lcom/groupbyinc/flux/snapshots/SnapshotsService$3;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)V / ?
? deleteSnapshot {(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/SnapshotsService$DeleteSnapshotListener;)V ? ?
? size ()I ? ?
K ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ?
K ? 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; l ?
! ? putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
* ? ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
* ? shardStatus ELcom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus;
shardEntry ?Ljava/util/Map$Entry; Ljava/util/Map$Entry; shardsMap ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; GLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; updatedSnapshot 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; snapshotChanged snapshot currentState *Lcom/groupbyinc/flux/cluster/ClusterState; 1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; 1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress; changed NLjava/util/ArrayList; Ljava/util/ArrayList; onFailure *(Ljava/lang/String;Ljava/lang/Throwable;)V access$1800 ?
2failed to update snapshot state after node removal source Ljava/lang/String; t Ljava/lang/Throwable; Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions
SourceFile EnclosingMethod InnerClasses + , - . / 0 C *+? 2*? 4*? 7?
8 9 - . : ; ? ?+? AM+C? G? N-? +?6? KY? L:-? P? V :? \ ?y? ` ? ::6 ? d? h? ? d? k?? o:
? s? w? |:? \ ? ?? ` ? :? ? :
? ?? ?? g
? ?? _,
? ?? ??
? ?W? H6 *? 2? ??? ?Y? ? SY
? ?S? ?
? ? ? Y
? ?? ??? ?? ?W??o ? Q6
? ?:? d? ?? *? ?? ?? ? Y? ?? ?:*? 2? ?? ? Y? d? ?:? ?W? I? d? Ʀ #*? 4? *? 2? ʻ Y*? Ͷ ѧ ? d? ?? *? 4? *? 2? ????? )? Y? ս ? ?? ۷ ?N+? ?C-? ? ?+?
?
? o ? ?
? { ? ? D ? ? d ? p ?
Fc ? ? I` ? , Bg ? ? ? 8 9 ? ? ? ? > ? ? B ? ? ? , !? M ? * ? { ? ? D ? ? d ? p ?
!? M ? ? % ! # $ !% B&