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

com.groupbyinc.flux.action.support.replication.TransportReplicationAction$ReroutePhase.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4uVcom/groupbyinc/flux/action/support/replication/TransportReplicationAction$ReroutePhase;com/groupbyinc/flux/common/util/concurrent/AbstractRunnableTransportReplicationAction.javaIcom/groupbyinc/flux/action/support/replication/TransportReplicationActionReroutePhaseXcom/groupbyinc/flux/action/support/replication/TransportReplicationAction$ReroutePhase$2	Xcom/groupbyinc/flux/action/support/replication/TransportReplicationAction$ReroutePhase$1^com/groupbyinc/flux/action/support/replication/TransportReplicationAction$ConcreteShardRequest
ConcreteShardRequest8com/groupbyinc/flux/cluster/metadata/IndexMetaData$State2com/groupbyinc/flux/cluster/metadata/IndexMetaDataState9com/groupbyinc/flux/cluster/ClusterStateObserver$Listener0com/groupbyinc/flux/cluster/ClusterStateObserverListener%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookuplistener+Lcom/groupbyinc/flux/action/ActionListener;7Lcom/groupbyinc/flux/action/ActionListener;requestCLcom/groupbyinc/flux/action/support/replication/ReplicationRequest;	TRequest;task@Lcom/groupbyinc/flux/action/support/replication/ReplicationTask;observer2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;finished+Ljava/util/concurrent/atomic/AtomicBoolean;$assertionsDisabledZthis$0KLcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;?(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;Lcom/groupbyinc/flux/action/support/replication/ReplicationTask;Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;Lcom/groupbyinc/flux/action/ActionListener;)V-.	1()V/3
4)java/util/concurrent/atomic/AtomicBoolean6
74)*	9"#	;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;=>	?2com/groupbyinc/flux/cluster/service/ClusterServiceA	localNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;CD
BE.com/groupbyinc/flux/cluster/node/DiscoveryNodeGgetId()Ljava/lang/String;IJ
HK>com/groupbyinc/flux/action/support/replication/ReplicationTaskM()JIO
NPAcom/groupbyinc/flux/action/support/replication/ReplicationRequestR
setParentTask(Ljava/lang/String;J)VTU
SV)com/groupbyinc/flux/action/ActionListenerX 	Z%&	\timeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;^_
S`access$2800?(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;bc
daccess$2900x(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;)Lcom/groupbyinc/flux/threadpool/ThreadPool;fg
h)com/groupbyinc/flux/threadpool/ThreadPooljgetThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;lm
kn?(Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V/p
q'(	sthis}Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction.ReroutePhase;XLcom/groupbyinc/flux/action/support/replication/TransportReplicationAction$ReroutePhase;	onFailure(Ljava/lang/Exception;)VfinishWithUnexpectedFailurezy
{eLjava/lang/Exception;doRunrouting?setPhaseU(Lcom/groupbyinc/flux/action/support/replication/ReplicationTask;Ljava/lang/String;)V??
?setAndGetObservedState,()Lcom/groupbyinc/flux/cluster/ClusterState;??
?handleBlockExceptions-(Lcom/groupbyinc/flux/cluster/ClusterState;)Z??
?(com/groupbyinc/flux/cluster/ClusterState?
concreteIndex>(Lcom/groupbyinc/flux/cluster/ClusterState;)Ljava/lang/String;??
?metaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
??-com/groupbyinc/flux/cluster/metadata/MetaData?indexH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
??0com/groupbyinc/flux/index/IndexNotFoundException?(Ljava/lang/String;)V/?
??retry?y
?java/lang/String?getState<()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??
?CLOSE:Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$State;??	?0com/groupbyinc/flux/indices/IndexClosedException?getIndex#()Lcom/groupbyinc/flux/index/Index;??
?$(Lcom/groupbyinc/flux/index/Index;)V/?
??resolveRequestz(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;)V??
?+,	?shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;??
S?java/lang/AssertionError?-request shardId must be set in resolveRequest?(Ljava/lang/Object;)V/?
??waitForActiveShards7()Lcom/groupbyinc/flux/action/support/ActiveShardCount;??
S?3com/groupbyinc/flux/action/support/ActiveShardCount?DEFAULT5Lcom/groupbyinc/flux/action/support/ActiveShardCount;??	??9request waitForActiveShards must be set in resolveRequest?primary^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
?retryIfUnavailable_(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Z??
?0com/groupbyinc/flux/cluster/routing/ShardRouting?nodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;??
??
currentNodeId?J
??/com/groupbyinc/flux/cluster/node/DiscoveryNodes?getD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??getLocalNodeId?J
??equals(Ljava/lang/Object;)Z??
??performLocalAction?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)V??
?performRemoteAction?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V??
?state*Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;waiting_on_primaryaccess$3000c
6com/groupbyinc/flux/common/apache/logging/log4j/Logger	isTraceEnabled()Z

access$3100c
`send action [{}] to local primary [{}] for request [{}] with cluster state version [{}] to [{}] transportPrimaryAction?	versionO
?java/lang/LongvalueOf(J)Ljava/lang/Long;
traceo(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V !
"allocationId4()Lcom/groupbyinc/flux/cluster/routing/AllocationId;$%
?&0com/groupbyinc/flux/cluster/routing/AllocationId(
)Kid()I+,
?-primaryTerm(I)J/0
1F(Lcom/groupbyinc/flux/transport/TransportRequest;Ljava/lang/String;J)V/3
4
performActionv(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;ZLcom/groupbyinc/flux/transport/TransportRequest;)V67
8routedBasedOnClusterVersion:O
S;access$3200=c
>?failed to find primary [{}] for request [{}] despite sender thinking it would be here. Local cluster state version [{}]] is older than on sending node (version [{}]), scheduling a retry...@](Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V B
Cjava/lang/StringBuilderE
F4>failed to find primary as current cluster state with version [Happend-(Ljava/lang/String;)Ljava/lang/StringBuilder;JK
FL(J)Ljava/lang/StringBuilder;JN
FO] is stale (expected at least [Q]StoStringUJ
FVretryBecauseUnavailable>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)VXY
ZF(J)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;:\
S]access$3300_c
`access$3500bc
cYsend action [{}] on primary [{}] for request [{}] with cluster state version [{}] to [{}]eaccess$3400_(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;)Ljava/lang/String;gh
ireroutedkaccess$3600mh
nactivep
?qaccess$3800sc
toprimary shard [{}] is not yet active, scheduling a retry: action [{}], request [{}], cluster state version [{}]vaccess$3700xh
yprimary shard is not active{
nodeExists(Ljava/lang/String;)Z}~
?access$4000?c
??primary shard [{}] is assigned to an unknown node [{}], scheduling a retry: action [{}], request [{}], cluster state version [{}]?access$3900?h
?-primary shard isn't assigned to a known node.?resolveIndex?
?access$4100?(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction;)Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;??
?@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver?concreteSingleIndexx(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/IndicesRequest;)Lcom/groupbyinc/flux/index/Index;??
??com/groupbyinc/flux/index/Index?getName?J
???J
S?getRoutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
??0com/groupbyinc/flux/cluster/routing/RoutingTable?shardRoutingTableg(Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;??
??:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTable?primaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
??
indexShard(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;)V
failure
compareAndSet(ZZ)Z
7failed	access$4400c
"java/lang/invoke/LambdaMetafactorymetafactory?(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;
()Ljava/lang/Object;lambda$finishAsFailed$0
?(Lcom/groupbyinc/flux/action/support/replication/TransportReplicationAction$ReroutePhase;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;?W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V 
xyY!7finishAsFailed called but operation is already finished#access$4500%c
&$lambda$finishWithUnexpectedFailure$1(
)*warn-
.DfinishWithUnexpectedFailure called but operation is already finished0finishOnSuccessG(Lcom/groupbyinc/flux/action/support/replication/ReplicationResponse;)V)access$46005c
6access$48008c
9-operation succeeded. action [{}],request [{}];access$4700=h
>9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V @
A
onResponseC?YD8finishOnSuccess called but operation is already finishedFresponse
TResponse;DLcom/groupbyinc/flux/action/support/replication/ReplicationResponse;5com/groupbyinc/flux/action/UnavailableShardsExceptionK{} Timeout: [{}], request: [{}]Mjava/lang/ObjectOQ(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;[Ljava/lang/Object;)V/Q
LR)Lcom/groupbyinc/flux/index/shard/ShardId;messageLcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessageVGunexpected error during the primary phase for action [{}], request [{}]Xaccess$4900Zh
[/@
W]+operation failed. action [{}], request [{}]_access$5000ah
bjava/lang/ClassedesiredAssertionStatusg
fh	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/action/support/replication/ReplicationTask;TRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
(TResponse;)VBootstrapMethods
SourceFileInnerClasses0 j!"#j$%&'()*+,-./0k\*+?2*?5*?7Y?8?:*-?<,?*?<+?@?F?L,?Q?W*?[*,?]*?Y+?@-?a+?e+?i?o?r?t?l4\uw\-.\%&\"#\ m \uv\"$\!n&	?	????2?8?=?[?o?2NSYjpxykP*+?|?luw}~muvn
??3k??*?]???*?t??L*+????*+??M+??,??N-?*??Y,?????-???????Y-?????*?2-*??uw??? ???)???B??)m?uvnZ?	???? ?)?-?9?:?D?P?\?v?????????????????o!????%???,H??k?
n*?]??*?2???/*?2?*?2?*???;
??JuwJ??B??("??mJuvn6
"#$%&' *(+,,;-@.F/H2o? ??'???k?%+?ә*?2???+??*+???*+?ޱl%uw%??m%uvn678:$<o67k?"*?2??+,*?2??Y*+???l4"uw""??"?,"??m"uvn
@!h?yk?C???+???Y???*?t???	*+?ޱ*?]???*?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy