All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.cluster.action.shard.ShardStateAction$ShardFailedClusterStateHandler.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3
Xcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateHandler?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener;4com/groupbyinc/flux/cluster/ClusterStateTaskExecutor4com/groupbyinc/flux/cluster/ClusterStateTaskListenerShardStateAction.java9com/groupbyinc/flux/cluster/action/shard/ShardStateAction	ShardFailedClusterStateHandler@com/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResultBatchResultKcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntryShardRoutingEntryGcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocationResultHcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$BuilderBuilderRcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocation$FailedShardFcom/groupbyinc/flux/cluster/routing/allocation/FailedRerouteAllocationFailedShard0com/groupbyinc/flux/cluster/ClusterState$Builder(com/groupbyinc/flux/cluster/ClusterState!Acom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards#0com/groupbyinc/flux/cluster/routing/RoutingNodes%UnassignedShardsthis$0;Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;>(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)V()	,()V*.
/thisZLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateHandler;execute~(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult;java/lang/Exception5java/lang/Throwable7builderL()Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder;9:

;java/util/ArrayList=java/util/List?size()IAB@C(I)V*E
>Fiterator()Ljava/util/Iterator;HI@Jjava/util/IteratorLhasNext()ZNOMPnext()Ljava/lang/Object;RSMTshardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;VW	XmessageLjava/lang/String;Z[	\failureLjava/lang/Throwable;^_	`\(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/Throwable;)V*b
cadd(Ljava/lang/Object;)Zef@g
access$300(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;ij

k@com/groupbyinc/flux/cluster/routing/allocation/AllocationServicemapplyFailedShards?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result;op
nqchangedsO
t^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;9v
"w
routingResult}(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;yz
 {build,()Lcom/groupbyinc/flux/cluster/ClusterState;}~
 	successes`(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder;??
?failuresu(Ljava/lang/Iterable;Ljava/lang/Throwable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder;??
?n(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult;}?
?taskMLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardRoutingEntry;resultILcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation$Result;tcurrentState*Lcom/groupbyinc/flux/cluster/ClusterState;tasks_Ljava/util/List;Ljava/util/List;batchResultBuilder?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder;JLcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult$Builder;shardRoutingsToBeAppliedfLjava/util/List;maybeUpdatedStateclusterStatePublished-(Lcom/groupbyinc/flux/cluster/ClusterState;)VgetRoutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;??
"?
unassignedE()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards;??
&?
$Cjava/util/Locale?ROOTLjava/util/Locale;??	??+[%d] unassigned shards after failing shards?java/lang/Object?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??java/lang/String?formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??
access$400j(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/common/logging/ESLogger;??

?+com/groupbyinc/flux/common/logging/ESLogger?isTraceEnabled?O??
access$500??

?java/lang/StringBuilder?
?/append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??, scheduling a reroute?toString()Ljava/lang/String;??
??trace((Ljava/lang/String;[Ljava/lang/Object;)V????
access$600q(Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction;)Lcom/groupbyinc/flux/cluster/routing/RoutingService;??

?2com/groupbyinc/flux/cluster/routing/RoutingService?reroute(Ljava/lang/String;)V??
??reasonnewClusterStatenumberOfUnassignedShardsIclusterStateProcessedi(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)VsourceoldStatenewState	onFailure*(Ljava/lang/String;Ljava/lang/Throwable;)V
access$700??

?unexpected failure during [{}]?error=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????onNoLongerMaster.com/groupbyinc/flux/cluster/NotMasterException?no longer master. source: [?]?*?
????
CodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions	Signature(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$BatchResult;
SourceFileInnerClasses ()*+>
*+?-*?0?
12
()?34???Y,?D?G:,?K:?Q?0?U?:?Y?Y?]?a?d?hW???+:*?-?l+?r:?u?+?x?|??:-,??W?
:-,??W-???U??8\	1??d????_?12????????????U??? ?????????:???1?O?R?U?d?l?z?????????7?@M?6?'"?"@@"8	6	
???a+??????=?T?????Y??S??N*?-?????&*?-?Ȼ?Y??-??Ѷ϶?????*?-??-??*#=?[a12a??V?????#?2?U?`??U??
??I?*12?[???????Z*?-???,??Y+S??? 12?[?_
????]%*+??Y??Y?????+????϶շ??%12%?[
?$?	B

	
		
		 "	$&'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy