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

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

There is a newer version: 198
Show newest version
????4Wcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommandXcom/groupbyinc/flux/cluster/routing/allocation/command/AbstractAllocateAllocationCommand%AllocateReplicaAllocationCommand.java_com/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand$BuilderBuilderDcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type	?com/groupbyinc/flux/cluster/routing/allocation/decider/DecisionTypeNAMELjava/lang/String;allocate_replicaCOMMAND_NAME_FIELD'Lcom/groupbyinc/flux/common/ParseField;REPLICA_PARSER2Lcom/groupbyinc/flux/common/xcontent/ObjectParser;?Lcom/groupbyinc/flux/common/xcontent/ObjectParser;((Ljava/lang/String;ILjava/lang/String;)V
thisYLcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand;indexshardIdInode5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException"!
$in2Lcom/groupbyinc/flux/common/io/stream/StreamInput;name()Ljava/lang/String;fromXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand;()V,
-parse?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand$Builder;/0
1build[()Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand;34
5parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;execute?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Z)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;"java/lang/IllegalArgumentException;0com/groupbyinc/flux/index/IndexNotFoundException=6com/groupbyinc/flux/index/shard/ShardNotFoundException?@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocationAnodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;CD
BE 	G/com/groupbyinc/flux/cluster/node/DiscoveryNodesIresolveNodeD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;KL
JMexplainOrThrowRejectedCommand?(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;OP
Q.com/groupbyinc/flux/cluster/node/DiscoveryNodeSroutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;UV
BWgetIdY)
TZ0com/groupbyinc/flux/cluster/routing/RoutingNodes\E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/RoutingNode; ^
]_ explainOrThrowMissingRoutingNode?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;ZLcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;ab
c/com/groupbyinc/flux/cluster/routing/RoutingNodeeroutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;gh
Bi	k	m0com/groupbyinc/flux/cluster/routing/RoutingTableoshardRoutingTableQ(Ljava/lang/String;I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;qr
ps:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTableuprimaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;wx
vy-com/groupbyinc/flux/ResourceNotFoundException{0com/groupbyinc/flux/cluster/routing/ShardRouting}
unassigned()Z?
~?java/lang/StringBuilder?
?-$trying to allocate a replica shard [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??][?(I)Ljava/lang/StringBuilder;??
??8], while corresponding primary shard is still unassigned?toString?)
???(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;O?
?5com/groupbyinc/flux/cluster/routing/ShardRoutingState?
UNASSIGNED7Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;??	??replicaShardsWithStateJ([Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;??
v?java/util/List?isEmpty????all copies of [??] are already assigned. Use the move allocation command instead?get(I)Ljava/lang/Object;????decidersM()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders;??
B?Icom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders?canAllocate?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/RoutingNode;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;??
??typeH()Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;??
?NOFLcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision$Type;??	
?Acom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation??(Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocationCommand;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;)V?
??[?()
?] allocation of [?
] on node ?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
?? is not allowed, reason: ?(Ljava/lang/String;)V?
<?initializeUnassignedShard?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;Lcom/groupbyinc/flux/cluster/routing/RoutingNode;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)V??
?	discoNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;e$Ljava/lang/IllegalArgumentException;primaryShardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;/Lcom/groupbyinc/flux/ResourceNotFoundException;
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;explainZ2Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;routingNode1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;replicaShardRoutingsDLjava/util/List;Ljava/util/List;shardRoutingdecisionALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;
access$0004()Lcom/groupbyinc/flux/common/xcontent/ObjectParser;	?%com/groupbyinc/flux/common/ParseField?java/lang/String?((Ljava/lang/String;[Ljava/lang/String;)V?
??	?createAllocateParserF(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/ObjectParser;??
?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
ExceptionsLocalVariableTypeTable
StackMapTable
SourceFileInnerClasses!T*+-??* 
9:!>*+?%?&'
@A#()-?E	*+9?Y?.*?2?6?78I#9:?
z+?F*?H?NN?:*+?R?+?X:-?[?`:?*+-?d?+?j*?l*?n?t?z:?:*+?R????1*+??Y?????*?l?????*?n??????????+?j*?l*?n?t??Y??S??:???1*+??Y?????*?l?????*?n?????????????~:+??+??:		?????[???Y*	?ư?8LO@???	??L??Q	??zz??z??`?? ZU?+O??Z ??????????y??	????f^a_`b c+d0e8jLmOkQlZnbo?s?u?v?y?|}??d?o?2	O




© 2015 - 2025 Weber Informatics LLC | Privacy Policy