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

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

There is a newer version: 129
Show newest version
????4?\com/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommandScom/groupbyinc/flux/cluster/routing/allocation/command/BasePrimaryAllocationCommand*AllocateStalePrimaryAllocationCommand.javadcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand$BuilderBuilder7com/groupbyinc/flux/cluster/routing/RecoverySource$Type	2com/groupbyinc/flux/cluster/routing/RecoverySourceTypeNAMELjava/lang/String;allocate_stale_primaryCOMMAND_NAME_FIELD'Lcom/groupbyinc/flux/common/ParseField;STALE_PRIMARY_PARSER2Lcom/groupbyinc/flux/common/xcontent/ObjectParser;?Lcom/groupbyinc/flux/common/xcontent/ObjectParser;)(Ljava/lang/String;ILjava/lang/String;Z)V
this^Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;indexshardIdInodeacceptDataLossZ5(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/AllocateStalePrimaryAllocationCommand;()V.
/parse?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand$Builder;12
3build`()Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;56
7parser4Lcom/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/ShardNotFoundExceptionA@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocationCnodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;EF
DG 	I/com/groupbyinc/flux/cluster/node/DiscoveryNodesKresolveNodeD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;MN
LOexplainOrThrowRejectedCommand?(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;QR
S.com/groupbyinc/flux/cluster/node/DiscoveryNodeUroutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;WX
DYgetId[+
V\0com/groupbyinc/flux/cluster/routing/RoutingNodes^E(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/RoutingNode; `
_a explainOrThrowMissingRoutingNode?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;ZLcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;cd
e/com/groupbyinc/flux/cluster/routing/RoutingNodegroutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;ij
Dk	m	o0com/groupbyinc/flux/cluster/routing/RoutingTableqshardRoutingTableQ(Ljava/lang/String;I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;st
ru:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTablewprimaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;yz
x{-com/groupbyinc/flux/ResourceNotFoundException}0com/groupbyinc/flux/cluster/routing/ShardRouting
unassigned()Z??
??java/lang/StringBuilder?
?/	primary [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??][?(I)Ljava/lang/StringBuilder;??
??] is already assigned?toString?+
???(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;Q?
?!"	?!allocating an empty primary for [?[] can result in data loss. Please confirm by setting the accept_data_loss parameter to true?recoverySource6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;??
??getType;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??
?EXISTING_STORE9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??	
?.trying to allocate an existing primary shard [?+], while no such shard has ever been active?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??
?Acom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation??com/groupbyinc/flux/cluster/routing/allocation/decider/Decision?YESALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;??	??*+
? (allocation command)?ignore deciders?java/lang/Object?decision?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;??
D??(Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocationCommand;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;)V?
??	discoNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;e$Ljava/lang/IllegalArgumentException;shardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;/Lcom/groupbyinc/flux/ResourceNotFoundException;
allocationBLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;explain2Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;routingNode1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;
access$0004()Lcom/groupbyinc/flux/common/xcontent/ObjectParser;	?%com/groupbyinc/flux/common/ParseField?java/lang/String?((Ljava/lang/String;[Ljava/lang/String;)V?
??	?createAllocatePrimaryParserF(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/ObjectParser;??
?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTable
SourceFileInnerClasses!???`
*+-???4



 
!"?
:	;#?>*+?'??()?
AB?%*+?-???F	,-?9?Y?0*?4?8??9:?J?%;<?R8+?H*?J?PN?:*+?T?+?Z:-?]?b:?*+-?f?+?l*?n*?p?v?|:?:*+?T????1*+??Y?????*?n?????*?p??????????*???1*+??Y?????*?n?????*?p?????????????????1*+??Y?????*?n?????*?p??????????*+????Y*+????Y??*???????????Ķȷ˰>8LO@8LOB?p??	??L??Q	??88??8?"?? W?+
??Z????R_b`ac d+e0f8kLnOlQmZobp?s?t?x?y}~?"O>?
V?_hV~?
?54;????ܰ?+?.?5??Y??????ܱ?
-/??	

@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy