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

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

????4~]com/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateTaskExecutor?Ljava/lang/Object;Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;java/lang/Object4com/groupbyinc/flux/cluster/ClusterStateTaskExecutorShardStateAction.java9com/groupbyinc/flux/cluster/action/shard/ShardStateAction	#ShardFailedClusterStateTaskExecutorGcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResultClusterTasksResultDcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry
ShardEntryOcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$BuilderBuilderWcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$NoLongerPrimaryShardExceptionNoLongerPrimaryShardExceptionAcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards0com/groupbyinc/flux/cluster/routing/RoutingNodesUnassignedShards%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupallocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;routingService4Lcom/groupbyinc/flux/cluster/routing/RoutingService;logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;$assertionsDisabledZ?(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V()V*,
-"#	/$%	1&'	3this_Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardFailedClusterStateTaskExecutor;execute?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult;java/lang/Exception9builderS()Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;;<

=java/util/ArrayList?
@-java/util/ListBiterator()Ljava/util/Iterator;DECF(com/groupbyinc/flux/cluster/ClusterStateHjava/util/IteratorJhasNext()ZLMKNnext()Ljava/lang/Object;PQKRmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;TU
IVshardId)Lcom/groupbyinc/flux/index/shard/ShardId;XY	Z'com/groupbyinc/flux/index/shard/ShardId\getIndex#()Lcom/groupbyinc/flux/index/Index;^_
]`-com/groupbyinc/flux/cluster/metadata/MetaDatabindexW(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;de
cf5{} ignoring shard failed task [{}] (unknown index {})h6com/groupbyinc/flux/common/apache/logging/log4j/LoggerjdebugK(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Vlmknsuccesse(Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;pq
r2com/groupbyinc/flux/cluster/metadata/IndexMetaDatatprimaryTermJvw	xid()Iz{
]|(I)Jv~
u()	?java/lang/AssertionError?java/lang/StringBuilder?
?-Xreceived a primary term with a higher term than in the current cluster state (received [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
??] but current is [?])?toString()Ljava/lang/String;??
??(Ljava/lang/Object;)V*?
??R{} failing shard failed task [{}] (primary term {} does not match current term {})?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??](Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Vl?k?primary term [?&] did not match current primary term [?]?>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V*?
?failurez(Ljava/lang/Object;Ljava/lang/Exception;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;??
?getRoutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
I?allocationIdLjava/lang/String;??	?0com/groupbyinc/flux/cluster/routing/RoutingTable?getByAllocationIdo(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
??inSyncAllocationIds(I)Ljava/util/Set;??
u?
java/util/Set?contains(Ljava/lang/Object;)Z????6{} marking shard {} as stale (shard failed task: [{}])?add??C?9com/groupbyinc/flux/cluster/routing/allocation/StaleShard?
??0com/groupbyinc/flux/cluster/routing/ShardRouting?A{} ignoring shard failed task [{}] (shard does not exist anymore)?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Vl?k?-{} failing shard {} (shard failed task: [{}])?:com/groupbyinc/flux/cluster/routing/allocation/FailedShard?message??	?Ljava/lang/Exception;??	?\(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;Ljava/lang/Exception;)V*?
??size?{C?
?-applyFailedShardsv(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterState;??
?	successesg(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;??
?"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;??
???Qlambda$execute$0$(Ljava/util/List;)Ljava/lang/Object;??
??getQ(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;warnW(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)Vkfailures|(Ljava/lang/Iterable;Ljava/lang/Exception;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;	

buildu(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult;

currentPrimaryTerm#Ljava/util/Set;Ljava/util/Set;matched2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;taskFLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry;ecurrentState*Lcom/groupbyinc/flux/cluster/ClusterState;tasksXLjava/util/List;Ljava/util/List;batchResultBuilder?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;QLcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder;tasksToBeAppliedfailedShardsToBeAppliedNLjava/util/List;staleShardsToBeAppliedMLjava/util/List;maybeUpdatedState@com/groupbyinc/flux/cluster/routing/allocation/AllocationService)
*?failedShardsstaleShardsclusterStatePublished4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEvent0state,()Lcom/groupbyinc/flux/cluster/ClusterState;23
14getRoutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;67
I8
unassignedE()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes$UnassignedShards;:;
<
?java/util/Locale?ROOTLjava/util/Locale;AB	@C+[%d] unassigned shards after failing shardsEjava/lang/IntegerG(I)Ljava/lang/Integer;?I
HJjava/lang/StringLformatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;NO
MPisTraceEnabledRMkS{}, scheduling a rerouteUtrace'(Ljava/lang/String;Ljava/lang/Object;)VWXkY2com/groupbyinc/flux/cluster/routing/RoutingService[reroute(Ljava/lang/String;)V]^
\_reasonclusterChangedEvent1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;numberOfUnassignedShardsILcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessagef failed to apply failed shards {}h*X
gjjava/lang/ClassmdesiredAssertionStatusoM
npCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions	Signature(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult;?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterState;BootstrapMethods
SourceFileInnerClasses!"#$%&'()*+rl*?.*+?0*,?2*-?4?s*56"#$%&'t	78r?x?>N?@Y?A:?@Y?A:?@Y?A:,?G:?O???S?:+?W?[?a?g:		?'*?4i?[?[?a?o-?sW???y	???	?[?}??7

?y??????<
?y??1??Y??Y??????y?????
??????????*?4??[?y??	?[?}??????-?Y?[??Y??????y?????
???????????W???+???[????:??	?[?}??:
?y	??O
?????@*?4??[???o??W??Y?[???ӹ?W?*?4??[??-?sW?<*?4??[?o??W??Y??????W?????$??????`???Y??+:*+??:-??W? :*?4??-?W-???QT:s???w
go?
S?N?	=?V?x56xxt "
k#b$Y&?9(u>go?
xt !
k#b$%Y&'t?)	


=NSmw????!?"?!#=&@*S+X,g0?1?2?3?6?7?9?;?<?=@A<C?EJFQLTGVHhKqNv??'ICCCCK?Ou?b?e?|ICCCCKu????8ICCCCK?&?ICCCCI:w:xy??ro*?0+,-?+?s*56,-u,%-'tSxz./r?I+?5?9?=?>=?9?DF?Y?KS?QN*?4?T?*?4V-?Z*?2-?`?s*'!a?I56Ibc;detXYZ'[3\@^H`v?@M?
??r6?gYi*?k?s$tHl,r4
?q?????t?v@{???x|}:
	
	
	
	
	 !




© 2015 - 2025 Weber Informatics LLC | Privacy Policy