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: 198
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;
getMessage()Ljava/util/Optional;java/lang/StringBuilder.()V0
/1allocated a stale primary for [3append-(Ljava/lang/String;)Ljava/lang/StringBuilder;56
/7	9][;	=(I)Ljava/lang/StringBuilder;5?
/@] on node [B 	D] from user commandFtoStringH+
/Ijava/util/OptionalKof((Ljava/lang/Object;)Ljava/util/Optional;MN
LOfromXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;
1parse?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand$Builder;TU
Vbuild`()Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;XY
Zparser4Lcom/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/IndexNotFoundExceptionb6com/groupbyinc/flux/index/shard/ShardNotFoundExceptiond@com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocationfnodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;hi
gj/com/groupbyinc/flux/cluster/node/DiscoveryNodeslresolveNodeD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;no
mpexplainOrThrowRejectedCommand?(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;rs
t.com/groupbyinc/flux/cluster/node/DiscoveryNodevroutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;xy
gzgetId|+
w}0com/groupbyinc/flux/cluster/routing/RoutingNodesE(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;??
?/com/groupbyinc/flux/cluster/routing/RoutingNode?routingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
g?0com/groupbyinc/flux/cluster/routing/RoutingTable?shardRoutingTableQ(Ljava/lang/String;I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;??
??:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTable?primaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
??-com/groupbyinc/flux/ResourceNotFoundException?0com/groupbyinc/flux/cluster/routing/ShardRouting?
unassigned()Z??
??	primary [?] is already assigned??(ZLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/RerouteExplanation;r?
?!"	?!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;??
g??(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;dataLossWarning
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*()Ljava/util/Optional;
StackMapTable
SourceFileInnerClasses!???`
*+-???4



 
!"?
;	<#?>*+?'??()?
BC?%*+?-???G,-?a7?/Y?24?8*?:?8?AC?8*?E?8G?8?J?P??7?L?	QR?9?Y?S*?W?[??\]?P?%^_?d<+?k*?E?qN?:*+?u?+?{:-?~??:?*+-???+??*?:*?>????:?:*+?u????1*+?/Y?2??8*?:?8?A??8?J???*???5?/Y?2??8*?:?8?A??8?J:*+??????????1*+?/Y?2??8*?:?8?A??8?J???*+?»?Y*+?ʻ/Y?2*?̶8ζ8?J??Ҷַٰa8LOc8LOe?z??	??L??Q	???	?<<??<?""?? x?+??Z????Vehfgi j+k0l8qLtOrQsZubv?y?z?|?????"Oa?
w???V??
?58;??????,?0?5??Y?????????
.0	

@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy