
com.groupbyinc.flux.indices.store.IndicesStore$ShardActiveResponseHandler.class Maven / Gradle / Ivy
???? 3 ? 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 Kcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler$1 Bcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse ShardActiveResponse /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names shardId )Lcom/groupbyinc/flux/index/shard/ShardId; expectedActiveCopies I clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; 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;Lcom/groupbyinc/flux/cluster/ClusterState;I)V # ()V ! %
& ( * , )java/util/concurrent/atomic/AtomicInteger . (I)V ! 0
/ 1 3
/ & 6 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$900 _(Lcom/groupbyinc/flux/indices/store/IndicesStore;)Lcom/groupbyinc/flux/common/logging/ESLogger; ? @
A {} is {}active on node {} C
access$700 G(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;)Z E F
G I +com/groupbyinc/flux/common/logging/ESLogger K java/lang/String M [Ljava/lang/Object; O not Q
access$800 v(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; S T
U trace ((Ljava/lang/String;[Ljava/lang/Object;)V W X L Y incrementAndGet ()I [ \
/ ] decrementAndGet _ \
/ ` allNodesResponded b %
c response DLcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponse; handleException 5(Lcom/groupbyinc/flux/transport/TransportException;)V access$1000 i @
j #shards active request failed for {} l debug =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V n o L p exp 2Lcom/groupbyinc/flux/transport/TransportException; executor ()Ljava/lang/String; same v get x \
/ y access$1100 { @
| Qnot deleting shard {}, expected {} active copies, but only {} found active copies ~ java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? access$1200 ^(Lcom/groupbyinc/flux/indices/store/IndicesStore;)Lcom/groupbyinc/flux/cluster/ClusterService; ? ?
? *com/groupbyinc/flux/cluster/ClusterService ? state ,()Lcom/groupbyinc/flux/cluster/ClusterState; ? ? ? ? (com/groupbyinc/flux/cluster/ClusterState ?
getVersion ()J ? ?
? ? access$1300 ? @
? {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; ? ?
? ? java/lang/StringBuilder ?
? & indices_store ([ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] active fully on other nodes) ? toString ? u
? ? N(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)V ! ?
? submitStateUpdateTask I(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateUpdateTask;)V ? ? ? ? latestClusterState 4(Lcom/groupbyinc/flux/transport/TransportResponse;)V = >
? 3()Lcom/groupbyinc/flux/transport/TransportResponse; : ;
? access$1400 w(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)Lcom/groupbyinc/flux/cluster/ClusterState; x0 access$1500 v(Lcom/groupbyinc/flux/indices/store/IndicesStore$ShardActiveResponseHandler;)Lcom/groupbyinc/flux/index/shard/ShardId; Code LocalVariableTable LineNumberTable
StackMapTable Signature
SourceFile InnerClasses
! " ? ? 2*+? $*? '*,? )*? +*-? -*? /Y? 2? 4*? /Y? 5? 7? ? * 2 8 9 2 2 2 ? ? ? ? ? ? &