com.groupbyinc.flux.snapshots.SnapshotsService$2.class Maven / Gradle / Ivy
???? 4+ 0com/groupbyinc/flux/snapshots/SnapshotsService$2 2com/groupbyinc/flux/cluster/ClusterStateUpdateTask SnapshotsService.java .com/groupbyinc/flux/snapshots/SnapshotsService
beginSnapshot ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V 5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry /com/groupbyinc/flux/cluster/SnapshotsInProgress
Entry Ecom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener CreateSnapshotListener Ccom/groupbyinc/flux/cluster/SnapshotsInProgress$ShardSnapshotStatus ShardSnapshotStatus Hcom/groupbyinc/flux/snapshots/SnapshotsService$CleanupAfterErrorListener CleanupAfterErrorListener /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 ! Builder %java/lang/invoke/MethodHandles$Lookup $ java/lang/invoke/MethodHandles & Lookup accepted Z updatedSnapshot 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry; failure Ljava/lang/String; val$snapshot val$partial val$userCreateSnapshotListener GLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener; this$0 0Lcom/groupbyinc/flux/snapshots/SnapshotsService; ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;)V 3 4 7 / , 9 0 * ; 1 2 = ()V 5 ?
@ ) * B - . D this 2Lcom/groupbyinc/flux/snapshots/SnapshotsService$2; execute V(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState; snapshots J custom E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom; L M
N java/util/ArrayList P
Q @ entries ()Ljava/util/List; S T
U java/util/List W iterator ()Ljava/util/Iterator; Y Z X [ java/util/Iterator ] hasNext ()Z _ ` ^ a next ()Ljava/lang/Object; c d ^ e snapshot *()Lcom/groupbyinc/flux/snapshots/Snapshot; g h
i &com/groupbyinc/flux/snapshots/Snapshot k equals (Ljava/lang/Object;)Z m n
l o indices q T
r
access$800 ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; t u
v metaData 1()Lcom/groupbyinc/flux/cluster/metadata/MetaData; x y
z
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; | }
~ (com/groupbyinc/flux/common/collect/Tuple ? v1 ? d
? ?
java/util/Set ? v2 ? d
? ? isEmpty ? ` ? ? 3com/groupbyinc/flux/common/collect/ImmutableOpenMap ? java/lang/StringBuilder ?
? @ FAILED 7Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State; ? ? ? ?(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$State;Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;)V 5 ?
? + , ? add ? n X ? "Indices don't have primary shards ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? length ()I ? ?
? ? ; ? Indices are closed ? toString ()Ljava/lang/String; ? ?
? ? STARTED ? ? ? values @()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer; ? ?
? ? completed A(Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectContainer;)Z ? ?
? builder ^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
? java/util/Collections ? unmodifiableList "(Ljava/util/List;)Ljava/util/List; ? ?
? ? (Ljava/util/List;)V 5 ?
? putCustom w(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder; ? ?
" ? build ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
" ? failureMessage Ljava/lang/StringBuilder; indicesWithMissingShards rLcom/groupbyinc/flux/common/collect/Tuple;Ljava/util/Set;>; *Lcom/groupbyinc/flux/common/collect/Tuple; missing #Ljava/util/Set; Ljava/util/Set; closed shards ?Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; 5Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap; entry currentState *Lcom/groupbyinc/flux/cluster/ClusterState; 1Lcom/groupbyinc/flux/cluster/SnapshotsInProgress; ILjava/util/List; Ljava/util/List; onFailure *(Ljava/lang/String;Ljava/lang/Exception;)V access$1000 S(Lcom/groupbyinc/flux/snapshots/SnapshotsService;)Lorg/apache/logging/log4j/Logger; ? ?
? "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; ? ?
? ? ? d lambda$onFailure$0 K(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Ljava/lang/Object; ? ?
? ? get a(Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;)Lorg/apache/logging/log4j/util/Supplier; ? ? ? org/apache/logging/log4j/Logger ? warn @(Lorg/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V ? ? ? ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;ZLcom/groupbyinc/flux/snapshots/SnapshotsService$CreateSnapshotListener;Ljava/lang/Exception;)V 5
access$1100 ?(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/snapshots/Snapshot;Lcom/groupbyinc/flux/snapshots/SnapshotInfo;Ljava/lang/Exception;Lcom/groupbyinc/flux/action/ActionListener;)V
source e Ljava/lang/Exception; clusterStateProcessed i(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)V
onResponse ? access$1200 |(Lcom/groupbyinc/flux/snapshots/SnapshotsService;Lcom/groupbyinc/flux/cluster/SnapshotsInProgress$Entry;Ljava/lang/String;)V
oldState newState 5org/apache/logging/log4j/message/ParameterizedMessage [{}] failed to create snapshot
getSnapshotId ,()Lcom/groupbyinc/flux/snapshots/SnapshotId;
l '(Ljava/lang/String;Ljava/lang/Object;)V 5
Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable BootstrapMethods
SourceFile EnclosingMethod InnerClasses ) * + , - . / , 0 * 1 2 3 4 5 6 " ` $*+? 8*,? :*? <*? >*? A*? C*? E? # $ F G $ 3 4 $ t u w H I " \+K? O? M? QY? RN,? V? \ :? b ? ? f ? :? j*? :? j? p? ?*? 8+? s? w:*?