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

com.groupbyinc.flux.cluster.routing.ShardRouting.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4+0com/groupbyinc/flux/cluster/routing/ShardRoutingjava/lang/Object.com/groupbyinc/flux/common/io/stream/Writeable4com/groupbyinc/flux/common/xcontent/ToXContentObjectShardRouting.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContentParamsEcom/groupbyinc/flux/cluster/routing/RecoverySource$PeerRecoverySource2com/groupbyinc/flux/cluster/routing/RecoverySourcePeerRecoverySource5com/groupbyinc/flux/common/io/stream/Writeable$ReaderReaderFcom/groupbyinc/flux/cluster/routing/RecoverySource$StoreRecoverySourceStoreRecoverySource%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupUNAVAILABLE_EXPECTED_SHARD_SIZEJ????????shardId)Lcom/groupbyinc/flux/index/shard/ShardId;
currentNodeIdLjava/lang/String;relocatingNodeIdprimaryZstate7Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;recoverySource4Lcom/groupbyinc/flux/cluster/routing/RecoverySource;unassignedInfo4Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;allocationId2Lcom/groupbyinc/flux/cluster/routing/AllocationId;asListLjava/util/List;DLjava/util/List;expectedShardSizetargetRelocatingShard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;%Lcom/groupbyinc/flux/common/Nullable;hashCodeI$assertionsDisabled#(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Ljava/lang/String;ZLcom/groupbyinc/flux/cluster/routing/ShardRoutingState;Lcom/groupbyinc/flux/cluster/routing/RecoverySource;Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;Lcom/groupbyinc/flux/cluster/routing/AllocationId;J)V()V<>
?#$	A%&	C'&	E()	G*+	I,-	K./	M01	O5 	QinitializeTargetRelocatingShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;ST
U67	Wjava/util/CollectionsY
singletonList$(Ljava/lang/Object;)Ljava/util/List;[\
Z]23	_;)	a5com/groupbyinc/flux/cluster/routing/ShardRoutingStatecINITIALIZINGe+	df
RELOCATINGh+	dijava/lang/AssertionErrorkjava/lang/StringBuilderm
n?append(J)Ljava/lang/StringBuilder;pq
nr state: t-(Ljava/lang/String;)Ljava/lang/StringBuilder;pv
nw-(Ljava/lang/Object;)Ljava/lang/StringBuilder;py
nztoString()Ljava/lang/String;|}
n~(Ljava/lang/Object;)V<?
l?'com/groupbyinc/flux/index/shard/ShardId?java/lang/String?2com/groupbyinc/flux/cluster/routing/UnassignedInfo?0com/groupbyinc/flux/cluster/routing/AllocationId?
UNASSIGNED?+	d?*unassigned shard must be created with meta?Krecovery source only available on unassigned or initializing shard but was ?INSTANCEGLcom/groupbyinc/flux/cluster/routing/RecoverySource$PeerRecoverySource;??	?*replica shards always recover from primary?0unassigned shard must not be assigned to a node ?thisnewTargetRelocationf(Lcom/groupbyinc/flux/cluster/routing/AllocationId;)Lcom/groupbyinc/flux/cluster/routing/AllocationId;??
??<=
?
newUnassigned?(Lcom/groupbyinc/flux/index/shard/ShardId;ZLcom/groupbyinc/flux/cluster/routing/RecoverySource;Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;index#()Lcom/groupbyinc/flux/index/Index;getIndex??
??getIndexName?}
??id()I??
??getId
?
unassigned()Zinitializingactivestarted??
?
relocating??
?STARTED?+	d?assignedToNodegetTargetRelocatingShard
l?6()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;4()Lcom/groupbyinc/flux/cluster/routing/AllocationId;9()Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;+()Lcom/groupbyinc/flux/index/shard/ShardId;shardsIt5()Lcom/groupbyinc/flux/cluster/routing/ShardIterator;6com/groupbyinc/flux/cluster/routing/PlainShardIterator?<(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/util/List;)V<?
??^(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException?0com/groupbyinc/flux/common/io/stream/StreamInput?readOptionalString?}
??readBoolean??
??readByte()B??
??	fromValue:(B)Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;??
d?readFromh(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/RecoverySource;??
?"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;??
???F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;?5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V<?
???h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;?read9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;???readOptionalWriteablei(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;??
??
???f(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/AllocationId;??readLong()J?
?	shardSizein2Lcom/groupbyinc/flux/common/io/stream/StreamInput;readShardId](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId;
?<?

writeToThin6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutputwriteOptionalString(Ljava/lang/String;)V
writeBoolean(Z)V
value?
d	writeByte(B)V
writeTo
 writeOptionalWriteable3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)V"#
$	writeLong(J)V&'
(out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
? 
-updateUnassigned?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;Lcom/groupbyinc/flux/cluster/routing/RecoverySource;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;5can only update unassign info if they are already set1	isDelayed3?
?4-cannot transition from non-delayed to delayed6moveToUnassignedh(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
:(?
<EXISTING_STORE_INSTANCEHLcom/groupbyinc/flux/cluster/routing/RecoverySource$StoreRecoverySource;>?	@6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;,B
C
initializeY(Ljava/lang/String;Ljava/lang/String;J)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;newInitializingG?
?HF(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/AllocationId;GJ
?KnodeIdexistingAllocationIdrelocateG(Ljava/lang/String;J)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;9current shard has to be started in order to be relocated Q
newRelocationS?
?TcancelRelocation??
WV?
?YremoveRelocationSourcefinishRelocation\?
?]reinitializeReplicaShardisRelocationTarget`?
a
moveToStartedexpected an initializing shard dgetRelocationIdf}
?gmoveActiveReplicaToPrimaryexpected an active shard jEcom/groupbyinc/flux/cluster/routing/IllegalShardRoutingStateExceptionl&Already primary, can't move to primarynG(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Ljava/lang/String;)V<p
mqmoveUnassignedFromPrimaryexpected an unassigned shard t"Not primary, can't move to replicavisSameAllocation5(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Z?}
?zequals(Ljava/lang/Object;)Z|}
?~GShardRoutings have the same allocation id but not the same node. This [?
], other [?]?otherbisRelocationTargetOfWShardRouting is a relocation target but the source shard state isn't relocating. This [?rShardRouting is a relocation target but the source id isn't equal to source's allocationId.getRelocationId. This [?%}
?lShardRouting is a relocation target but source current node id isn't equal to target relocating node. This [?eShardRouting is a relocation target but current node id isn't equal to source relocating node. This [?
?~_ShardRouting is a relocation target but both indexRoutings are not of the same shard id. This [?IShardRouting is a relocation target but primary flag is different. This [?], target [?isRelocationSourceOfLShardRouting is a relocation source but shard state isn't relocating. This [?sShardRouting is a relocation source but the allocation id isn't equal to other.allocationId.getRelocationId. This [?cShardRouting is a relocation source but current node isn't equal to other's relocating node. This [?cShardRouting is a relocation source but relocating node isn't equal to other's current node. This [?\ShardRouting is a relocation source but both indexRoutings are not of the same shard. This [?IShardRouting is a relocation source but primary flag is different. This [?equalsIgnoringMetaData
?~
~
?~?y
?oLjava/lang/Object;that9:	?9?
??
??
d?
?
??
??hshortSummary?}
?(C)Ljava/lang/StringBuilder;p?
n???
??(I)Ljava/lang/StringBuilder;p?
n?, node[?], ?relocating [?[P]?[R]?, recovery_source[?, s[?, a?, ?
?~, expected_shard_size[?sbLjava/lang/StringBuilder;
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??**?
?field[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??(J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??node?[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??relocating_node?'}
?shard?J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
???
?expected_shard_size_in_bytes?J(Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
?recovery_sourcey(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
?
allocation_id	I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
???
?
?	endObject?
?builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;getExpectedShardSizejava/lang/ClassdesiredAssertionStatus?

ConstantValue	SignatureRuntimeVisibleAnnotationsCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions"RuntimeVisibleParameterAnnotationsBootstrapMethods
SourceFileInnerClasses1 !#$%&'&()*+,-./01?23 45 67!89:;)1<="??*?@*+?B*,?D*-?F*?H*?J*?L*?N*?P*	?R**?V?X**?^?`?b?=	!??4?g?,?j?$?lY?nY?o	?su?x?{?????b?;		??4?g?,?j?$?lY?nY?o	?su?x?{?????b?????
?lY?????b?A????g??????lY?nY?o??x?{?????b??????
?lY?????b?7,????????lY?nY?o??x*?{?????#f
??7?#$?%&?'&?()?*+?,-?./?01?5 	$NEF	GHIJK%L+M1N7O?PGQ?R?S?T&UHV?W%y??
???d??=@H?
???d??!
@K?
???d??ST"|9*?J?j?0?Y*?B*?F*?D*?H?g??*?N*?P??*?R????#9?7$[
\,]6\7_%7!8	??"]?Y*??,-!???#*#$(),-./$g??"2*?B???#?7$k?}"2*?B???#?7$r??"2*?B???#?7$y??"/*???#?7$???"E*?J?????#?7$?%@??"E*?J?g???#?7$?%@??"J*???
*?????#?7$?%@??"E*?J?????#?7$?%@??"E*?J?j???#?7$?%@??"B
*?D???#
?7$?%@%}"/*?D?#?7$?'}"/*?F?#?7$??T"Q?b?*????lY???*?X?#?7$
??%.?"/*?N?#?7$?!80?"/*?P?#?7$?!8(?"/*?H?#?7$?*?"/*?J?#?7$?#?"/*?B?#?7$???":??Y*?B*?`?˰#?7$?<?"\?*?@*+?B*,?ӵD*,?ӵF*,?ֵH*,?ڸ޵J*?J???
*?J?g?*,??L?*?L*,???????N*,???????P*?J?j?
*?J?g?,?B?!B*!?R**?^?`**?V?X?#4? ??7?#$?? $J??	???!,@KP`p	?
?????%?@??
3?&?<?"B
*+?	+??#
?7
$
	&?
"?l+*?D?+*?F?+*?H?+*?J??*?J???
*?J?g?*?L+?!+*?N?%+*?P?%*?J?j?
*?J?g?+*?R?)?#l?7l*+$. !#"7#?%G&O'c(k*%7#&?
"J*?B+?,*+?.?#?7*+$./
0&?/0"?`?b?*?N??lY2????b?*?N?5?+?5??lY7????Y*?B*?D*?F*?H*?J,+*?P*?R???# `?7`./`,-$34:5%!89"?U?b?*?J????lY*???*?;?*?=?
?AM???M?*?DM?Y*?B*?H??,+!???#4+,-2,-U?7U./:,-$=? @'A.C5F:H%?EF"?a?b?*?J????lY*????b?*?F??lY*???,??I:?	,?L:?Y*?B+*?H?g*?L*?N!???#>801a?7aM&aN&a5 A 01$RS/U3V;XAZ%??'8OP"?Q?b?)*?J????lY?nY?oR?x*?{?????Y*?B*?D+*?H?j*?L*?P?U ???# Q?7Q'&Q5 $d,eIfPe%,VT"?l?b?*?J?j??lY*????b?*?X??lY*????b?*?F??lY*????Y*?B*?D*?H??*?L*?P?Z!???#l?7$no/pEqbrkq%[T"???b?*?H??lY*????b?*?J?g??lY*????b?*?X??lY*????b?*?F??lY*????Y*?B*?D*?H*?J*?L*?N*?P?^*?R???#??7${|/}E~[|??%_T"?l?b?*?J?g??lY*????b?*?H??lY*????b?*?b??lY*????Y*?B*?D*?H?g*?L*?N?I*?R???#l?7$??/?E?a?k?%cT"?[?b?)*?J?g??lY?nY?oe?x*?{????*?PL+?h?+?^L?Y*?B*?D*?H??+!???#[?71*01$?,?1?8?=?%	,??iT"?e?b?&*?;??lY?nY?ok?x*?{????*?H??mY*o?r??Y*?B*?D*?F*?J*?L*?N*?P*?R???#e?7$?)?0?<?%)sT"?g?b?)*?J????lY?nY?ou?x*?{????*?H??mY*w?r??Y*?B*?D*?F*?J??*?N*?P*?R???#g?7$?,?3???%,xy"?n*?P?"+?P?*?P?{+?P?{???=?b?A?=*?D+?D??/?lY?nY?o??x*?{??x+?{??x?????# n?7n?7(F?)$?(?l?%	&@?D`?"L*?J?g?*?F???#?7$?%@?y"G?*?P?,+?P?%*?J?g?*?P?{+?P?h???=?b?=?9+?J?j?/?lY?nY?o??x*?{??x+?{??x?????b?G?C+?P?{*?P?h??/?lY?nY?o??x*?{??x+?{??x?????b?A?=+??*?F??/?lY?nY?o??x*?{??x+?{??x?????b?A?=*??+?F??/?lY?nY?o??x*?{??x+?{??x?????b?A?=*?B+?B???/?lY?nY?o??x*?{??x+?{??x?????b?>?:*?H+?H?/?lY?nY?o??x*?{??x+?{??x?????# ??7??72??)$&	??2?r????D?????%0@?@?I?C?C?C?@?y"G?*?P?,+?P?%+?J?g?+?P?{*?P?h???=?b?=?9*?J?j?/?lY?nY?o??x*?{??x+?{??x?????b?G?C*?P?{+?P?h??/?lY?nY?o??x*?{??x+?{??x?????b?A?=*??+?F??/?lY?nY?o??x*?{??x+?{??x?????b?A?=+??*?F??/?lY?nY?o??x*?{??x+?{??x?????b?A?=*?B+?B???/?lY?nY?o??x*?{??x+?{??x?????b?>?:*?H+?H?/?lY?nY?o??x*?{??x+?{??x?????# ??7??72??)$&	??2?r????D????%0@?@?I?C?C?C?@?y"F?*?H+?H??*?B?*?B+?B????
+?B??*?D?*?D+?D???
+?D??*?F?*?F+?F???
+?F??*?P?*?P+?P????
+?P??*?J+?J??*?L?*?L+?L????
+?L???#??7??7$>
,	.MOnp??????%
|}"?@*+??+?
+???+?M*?N?*?N,?N????
,?N??*,???# @?7@??'?7$" "#%&8':)%

?9?"??*??<??*?B??<h*?D?
*?D???`<h*?F?
*?F???`<h*?H??`<h*?J?
*?J???`<h*?L?
*?L???`<h*?P?
*?P???`<h*?N?
*?N???`<*???#??7??:$245	67)8A9S:k;?<?=?>?@%v?&?V?P?V?V?V?V?|}"/*???#?7$E?}"??nY?oL+[??*?B???x]??[??*?B????]??W+ƶx*?D?xȶxW*?F?+ʶx*?F?xȶxW*?H?+̶xW?+ζxW*?L?+жx*?L?{??xW+Ҷx*?J?{??xW*?P?+Զx*?P?{W*?N?+ֶx*?N?׶xW*?R!??+ٶx*?R?s??xW+??#?7???$JLM2NGONPcRjSuU}W?X?Z?[?\?^?_?a?b?d%?cn*??"&?+???*????*?=???*?????*?????*?????*????W*?R!??+*?R?W*?L?+*?L?W*?P?+
?
W*?P+,?W*?N?
*?N+,?W+??# ??7??$Fijkl&m0n:oApLqXs_tkvrwzx?z?{?}%?X&?"/*?R?#?7$?,B"/*?L?#?7$?!8>"4????b?$+%@(????????)	**
				




© 2015 - 2024 Weber Informatics LLC | Privacy Policy