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

com.groupbyinc.flux.cluster.routing.allocation.AllocateUnassignedDecision.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?Icom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecisionIcom/groupbyinc/flux/cluster/routing/allocation/AbstractAllocationDecisionAllocateUnassignedDecision.javaCcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus2com/groupbyinc/flux/cluster/routing/UnassignedInfoAllocationStatusDcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision
Type5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams5com/groupbyinc/flux/common/io/stream/Writeable$Reader.com/groupbyinc/flux/common/io/stream/WriteableReaderRcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfoCcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResultShardStoreInfo%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles!Lookup	NOT_TAKENKLcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;CACHED_DECISIONSLjava/util/Map;?Ljava/util/Map;allocationStatusELcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;%Lcom/groupbyinc/flux/common/Nullable;allocationIdLjava/lang/String;
reuseStoreZremainingDelayInMillisJconfiguredDelayInMillis$assertionsDisabled?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/util/List;ZJJ)VC(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)V46
73/	9java/lang/AssertionError;6a yes decision must have a node to assign the shard to=(Ljava/lang/Object;)V4?
<@.com/groupbyinc/flux/cluster/node/DiscoveryNodeBjava/lang/StringDjava/util/ListF;allocation id can only be null if the assigned node is nullH)*	J,-	L./	N01	P21	RthisassignedNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
nodeDecisionsWLjava/util/List;Ljava/util/List;5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException[4Z
]"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;ab
`cdF(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;freadFromy(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;hi
jkiread9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;nop0com/groupbyinc/flux/common/io/stream/StreamInputrreadOptionalWriteablei(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;tu
svreadOptionalString()Ljava/lang/String;xy
szreadBoolean()Z|}
s~	readVLong()J??
s?in2Lcom/groupbyinc/flux/common/io/stream/StreamInput;no?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;??
?	decisionsdelayed_(JJLjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;DELAYED_ALLOCATION?*	??(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;ZJJ)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;??
?remainingDelay
totalDelay45
?getCachedDecision?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;??
?throttle](Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;DECIDERS_THROTTLED?*	?yes?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/util/List;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;fromDecision?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;typeH()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;??
?YESFLcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;??	??(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;)Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;??
?decisionALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;decisionType&'	?
java/util/Map?get&(Ljava/lang/Object;)Ljava/lang/Object;????java/lang/StringBuilder?()V4?
??#precomputed decision not found for ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString?y
??java/util/Objects?requireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??isDecisionTaken
NO_ATTEMPT?*	?getAllocationDecisionE()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;checkDecisionState??
?Acom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision?fromAllocationStatus?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;??
??getAllocationStatusG()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;getAllocationIdgetRemainingDelayInMillisgetConfiguredDelayInMillisgetExplanation??
?CLcom/groupbyinc/flux/cluster/routing/allocation/AllocationDecision;??	??can allocate the shard?	THROTTLED??	?? allocation temporarily throttled?
AWAITING_INFO??	??mcannot allocate because information about existing shard data is still being retrieved from some of the nodes?NO_VALID_SHARD_COPY??	??hasNodeWithStaleOrCorruptShard?}
?Qcannot allocate because all found copies of the shard are either stale or corrupt?{cannot allocate because a previous copy of the primary shard existed but can no longer be found on the nodes in the clusterALLOCATION_DELAYED?	?5cannot allocate because the cluster is still waiting )com/groupbyinc/flux/common/unit/TimeValuetimeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;	

2 for the departed node holding a replica to rejoin
atLeastOneNodeWithYesDecision}
H, despite being allowed to allocate the shard to at least one other nodeNO?	?
<?gcannot allocate because allocation is not permitted to any of the nodes that hold an in-sync shard copyGcannot allocate because allocation is not permitted to any of the nodesallocationDecisiongetNodeDecisions()Ljava/util/List; 
!stream()Ljava/util/stream/Stream;#$G%(Ljava/lang/Object;)Z''lambda$hasNodeWithStaleOrCorruptShard$0H(Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult;)Z)*
+,*test ()Ljava/util/function/Predicate;/01java/util/stream/Stream3anyMatch!(Ljava/util/function/Predicate;)Z5647
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;can_allocate;3com/groupbyinc/flux/common/xcontent/XContentBuilder=field[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?@
>Aallocate_explanationC?y
E[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?G
>H
targetNodeJV	Ktarget_nodeMstartObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;OP
>QdiscoveryNodeToXContent?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ZLcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ST
U	endObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;WX
>Y
allocation_id[configured_delay_in_millis]configured_delay_timeValueField?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ab
>cremaining_delay_in_milliseremaining_delaygWY	inodeDecisionsToXContent?(Ljava/util/List;Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;kl
mbuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;writeTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Vst
u1com/groupbyinc/flux/common/io/stream/StreamOutputwwriteOptionalWriteable3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)Vyz
x{writeOptionalString(Ljava/lang/String;)V}~
xwriteBoolean(Z)V??
x?
writeVLong(J)V??
x?out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;equals?'
?'(Ljava/lang/Object;Ljava/lang/Object;)Z??
??otherLjava/lang/Object;thathashCode()I??
?java/lang/Object?java/lang/Boolean?valueOf(Z)Ljava/lang/Boolean;??
??java/lang/Long?(J)Ljava/lang/Long;??
??hash([Ljava/lang/Object;)I??
??getShardStoreInfoV()Lcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult$ShardStoreInfo;??
??y
?getStoreException()Ljava/lang/Exception;??
?resultELcom/groupbyinc/flux/cluster/routing/allocation/NodeAllocationResult;java/lang/Class?desiredAssertionStatus?}
??$%	?java/util/EnumMap?(Ljava/lang/Class;)V4?
??FETCHING_SHARD_DATA?*	?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?????*	?DECIDERS_NO?*	?java/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??cachedDecisions	SignatureRuntimeVisibleAnnotationsCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/util/List;ZJJ)V
Exceptions?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;"RuntimeVisibleParameterAnnotations?(JJLjava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;Ljava/util/List;ZJJ)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;?(Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/util/List;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocateUnassignedDecision;BootstrapMethods
SourceFileInnerClasses!$%&'?()*?+,-?+./01213/45?
T*,?8?:?,?+?
??A??:?-?,?
?.?\>?
?G@???n<*??h??Y*?KSY*?MSY*?O??SY*?S??SY*?Q??S??`??<T%?G)H7G
)*?c!*???*?????
*????????!??? ?@???"
??????:?Y??		??????Y??K*?ĻY??		????W*?ʻY??		????W*?ͻY??		????W*???Y??		????W*???Y??		????W*?ӳ???-??'?-??(?*
*,#4-5G7a9{;?=???@?@?eglme(-.??2	
@@		 "#




© 2015 - 2025 Weber Informatics LLC | Privacy Policy