com.groupbyinc.flux.indices.store.IndicesStore$ShardActiveResponseHandler.class Maven / Gradle / Ivy
???? 4) Icom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler ?Ljava/lang/Object;Lcom/groupbyinc/flux/transport/TransportResponseHandler; java/lang/Object 6com/groupbyinc/flux/transport/TransportResponseHandler IndicesStore.java .com/groupbyinc/flux/indices/store/IndicesStore ShardActiveResponseHandler Bcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse ShardActiveResponse /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup shardId )Lcom/groupbyinc/flux/index/shard/ShardId; expectedActiveCopies I clusterStateVersion J awaitingResponses +Ljava/util/concurrent/atomic/AtomicInteger; activeCopies this$0 0Lcom/groupbyinc/flux/indices/store/IndicesStore; ^(Lcom/groupbyinc/flux/indices/store/IndicesStore;Lcom/groupbyinc/flux/index/shard/ShardId;JI)V " # & ()V $ (
) + - / )java/util/concurrent/atomic/AtomicInteger 1 (I)V $ 3
2 4 6
2 ) ! 9 this KLcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler; newInstance F()Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;
) handleResponse G(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;)V
access$400 j(Lcom/groupbyinc/flux/indices/store/IndicesStore;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; B C
D {} is {}active on node {} F
access$200 G(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;)Z H I
J L 6com/groupbyinc/flux/common/apache/logging/log4j/Logger N java/lang/String P 'com/groupbyinc/flux/index/shard/ShardId R not T
access$300 v(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; V W
X trace K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V Z [ O \ incrementAndGet ()I ^ _
2 ` decrementAndGet b _
2 c allNodesResponded e (
f response DLcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse; handleException 5(Lcom/groupbyinc/flux/transport/TransportException;)V
access$500 l C
m "java/lang/invoke/LambdaMetafactory o 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; q r
p s t ()Ljava/lang/Object; v lambda$handleException$0 x v
y z get ?(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; | } ~ debug W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V ? ? O ? exp 2Lcom/groupbyinc/flux/transport/TransportException; executor ()Ljava/lang/String; same ? | _
2 ?
access$600 ? C
? Qnot deleting shard {}, expected {} active copies, but only {} found active copies ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ?
access$700 f(Lcom/groupbyinc/flux/indices/store/IndicesStore;)Lcom/groupbyinc/flux/cluster/service/ClusterService; ? ?
? 2com/groupbyinc/flux/cluster/service/ClusterService ? state ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
? ? (com/groupbyinc/flux/cluster/ClusterState ?
getVersion ()J ? ?
? ?
access$800 ? C
? {not deleting shard {}, the latest cluster state version[{}] is not equal to cluster state before shard active api call [{}] ? java/lang/Long ? (J)Ljava/lang/Long; ? ?
? ? getClusterApplierService =()Lcom/groupbyinc/flux/cluster/service/ClusterApplierService; ? ?
? ? java/lang/StringBuilder ?
? ) indices_store ([ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] active fully on other nodes) ? toString ? ?
? ? (Ljava/lang/Object;)V ? lambda$allNodesResponded$2 -(Lcom/groupbyinc/flux/cluster/ClusterState;)V ? ?
? ? ? accept j(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)Ljava/util/function/Consumer; ? ? ? *(Ljava/lang/String;Ljava/lang/Exception;)V ? lambda$allNodesResponded$4 ? ?
? ? onFailure ?(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener; ? ? ? 9com/groupbyinc/flux/cluster/service/ClusterApplierService ? runOnApplierThread h(Ljava/lang/String;Ljava/util/function/Consumer;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener;)V ? ?
? ? latestClusterState *Lcom/groupbyinc/flux/cluster/ClusterState; 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V @ A
? 3()Lcom/groupbyinc/flux/transport/TransportResponse; = >
?
access$900 ? C
?
lambda$null$3 ? v
? ? ~ error ? ? O ? source Ljava/lang/String; e Ljava/lang/Exception; Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage ? 8{} unexpected error during deletion of unallocated shard ? '(Ljava/lang/String;Ljava/lang/Object;)V $ ?
? ? java/lang/Exception access$1000 C
xnot deleting shard {}, the update task state version[{}] is not equal to cluster state before shard active api call [{}] access$1100 ^(Lcom/groupbyinc/flux/indices/store/IndicesStore;)Lcom/groupbyinc/flux/indices/IndicesService;
no longer used *com/groupbyinc/flux/indices/IndicesService
deleteShardStore h(Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/cluster/ClusterState;)V
access$1200 C
lambda$null$1 v
~ ex currentState /{} failed to delete unallocated shard, ignoring #shards active request failed for {} Code LocalVariableTable LineNumberTable
StackMapTable BootstrapMethods Signature
SourceFile InnerClasses ! " #
$ % ! ? 2*+? '*? **,? ,*? .*!? 0*? 2Y? 5? 7*? 2Y? 8? :? " * 2 ; <