
com.groupbyinc.flux.cluster.action.shard.ShardStateAction.class Maven / Gradle / Ivy
???? 3 9com/groupbyinc/flux/cluster/action/shard/ShardStateAction 6com/groupbyinc/flux/common/component/AbstractComponent ShardStateAction.java Kcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry ShardRoutingEntry Vcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedTransportHandler ShardStartedTransportHandler Ucom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedTransportHandler ShardFailedTransportHandler Ycom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateHandler ShardStartedClusterStateHandler Xcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateHandler ShardFailedClusterStateHandler ;com/groupbyinc/flux/cluster/action/shard/ShardStateAction$2 ;com/groupbyinc/flux/cluster/action/shard/ShardStateAction$1 /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names SHARD_STARTED_ACTION_NAME Ljava/lang/String; internal:cluster/shard/started SHARD_FAILED_ACTION_NAME internal:cluster/shard/failure # transportService 0Lcom/groupbyinc/flux/transport/TransportService; clusterService ,Lcom/groupbyinc/flux/cluster/ClusterService; allocationService BLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService; routingService 4Lcom/groupbyinc/flux/cluster/routing/RoutingService; shardFailedClusterStateHandler ZLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateHandler; shardStartedClusterStateHandler [Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateHandler; (Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;)V *Lcom/groupbyinc/flux/common/inject/Inject; 1(Lcom/groupbyinc/flux/common/settings/Settings;)V 1 4
5 >(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)V 1 7
8 - . :
8 / 0 = ' ( ? % & A ) * C + , E same G
8 .com/groupbyinc/flux/transport/TransportService J registerRequestHandler o(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)V L M
K N {(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$1;)V 1 P
Q this ;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; shardFailed n(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V %Lcom/groupbyinc/flux/common/Nullable; *com/groupbyinc/flux/cluster/ClusterService Z state ,()Lcom/groupbyinc/flux/cluster/ClusterState; \ ] [ ^ (com/groupbyinc/flux/cluster/ClusterState ` nodes 3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes; b c
a d /com/groupbyinc/flux/cluster/node/DiscoveryNodes f
masterNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; h i
g j logger -Lcom/groupbyinc/flux/common/logging/ESLogger; l m n 0can't send shard failed for {}, no master known. p java/lang/Object r +com/groupbyinc/flux/common/logging/ESLogger t warn ((Ljava/lang/String;[Ljava/lang/Object;)V v w u x .com/groupbyinc/flux/cluster/node/DiscoveryNode z innerShardFailed ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/lang/Throwable;)V | }
~ shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; indexUUID message failure Ljava/lang/Throwable; 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; resendShardFailed >{} re-sending failed shard for {}, indexUUID [{}], reason [{}] ? 0com/groupbyinc/flux/cluster/routing/ShardRouting ? shardId +()Lcom/groupbyinc/flux/index/shard/ShardId; ? ?
? ? trace =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? u ? 1 X
? ?(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V 1 ?
? sendRequest ?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
K ? shardRoutingEntry MLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry; shardStarted Y(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/String;)V 4{} can't send shard started for {}, no master known. ? ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V ? ?
? reason {} sending shard started for {} ? ? ? ? debug ? w u ?
? handleShardFailureOnMaster P(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry;)V {} received shard failed for {} ? ? ? ? v ? u ? java/lang/StringBuilder ? ()V 1 ?
? ? shard-failed ( ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ), message [ ? ? ? ] ? toString ()Ljava/lang/String; ? ?
? ? #com/groupbyinc/flux/common/Priority ? HIGH %Lcom/groupbyinc/flux/common/Priority; ? ? ? ? 7com/groupbyinc/flux/cluster/BasicClusterStateTaskConfig ? create [(Lcom/groupbyinc/flux/common/Priority;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig; ? ?
? ? submitStateUpdateTask ?(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener;)V ? ? [ ? shardStartedOnMaster received shard started for {} ? shard-started ( ? ), reason [ ? URGENT ? ? ? ?
access$100 j(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/common/logging/ESLogger; x0
access$200
access$300 (Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;
access$400
access$500
access$600 q(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/routing/RoutingService;
access$700
access$800
access$900 ?(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry;)V ? ?
? x1 access$1000 ? ?
?
ConstantValue Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
StackMapTable "RuntimeVisibleParameterAnnotations
SourceFile InnerClasses ! ? ! " ? $ % &