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

com.groupbyinc.flux.discovery.zen.NodeJoinController.class Maven / Gradle / Ivy

????4G4com/groupbyinc/flux/discovery/zen/NodeJoinController6com/groupbyinc/flux/common/component/AbstractComponentNodeJoinController.javaEcom/groupbyinc/flux/discovery/zen/NodeJoinController$JoinTaskExecutorJoinTaskExecutorEcom/groupbyinc/flux/discovery/zen/NodeJoinController$JoinTaskListener	JoinTaskListenerDcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContextElectionContextEcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallbackElectionCallback6com/groupbyinc/flux/discovery/zen/NodeJoinController$36com/groupbyinc/flux/discovery/zen/NodeJoinController$26com/groupbyinc/flux/discovery/zen/NodeJoinController$1?com/groupbyinc/flux/discovery/zen/MembershipAction$JoinCallback2com/groupbyinc/flux/discovery/zen/MembershipActionJoinCallback
masterService3Lcom/groupbyinc/flux/cluster/service/MasterService;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;electMaster6Lcom/groupbyinc/flux/discovery/zen/ElectMasterService;joinTaskExecutorGLcom/groupbyinc/flux/discovery/zen/NodeJoinController$JoinTaskExecutor;electionContextFLcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;BECOME_MASTER_TASK0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;FINISH_ELECTION_TASK$assertionsDisabledZ?(Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/discovery/zen/ElectMasterService;Lcom/groupbyinc/flux/common/settings/Settings;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V,.
/9(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)V,1
2#$	4%&	6	8 	:!"	<this6Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;settings.Lcom/groupbyinc/flux/common/settings/Settings;waitToBeElectedAsMasterv(ILcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;)Vjava/lang/InterruptedExceptionDjava/lang/ExceptionF#java/util/concurrent/CountDownLatchH(I)V,J
IK?(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;Ljava/util/concurrent/CountDownLatch;Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;)V,M
N*+	Pjava/lang/AssertionErrorR?waitToBeElectedAsMaster is called we are not accumulating joinsT(Ljava/lang/Object;)V,V
SW)com/groupbyinc/flux/common/unit/TimeValueYjava/lang/Object[onAttemptToBeElectedK(ILcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;)V]^

_!checkPendingJoinsAndElectIfNeeded()Vab
cjava/lang/Throwableemillis()Jgh
Zijava/util/concurrent/TimeUnitkMILLISECONDSLjava/util/concurrent/TimeUnit;mn	loawait#(JLjava/util/concurrent/TimeUnit;)Zqr
Islogger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;uv	w6com/groupbyinc/flux/common/apache/logging/log4j/LoggeryisTraceEnabled()Z{|z}getPendingMasterJoinsCount()I?

?Ltimed out waiting to be elected. waited [{}]. pending master node joins [{}]?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??trace9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V??z?timed out waiting to be elected?failContextIfNeeded[(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;Ljava/lang/String;)V??
?3unexpected failure while waiting for incoming joins?error*(Ljava/lang/String;Ljava/lang/Throwable;)V??z?java/lang/StringBuilder?,b
??4unexpected failure while waiting for pending joins [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??
getMessage()Ljava/lang/String;??
G?]?toString??
??pendingNodesIeLjava/lang/Exception;requiredMasterJoins	timeValue+Lcom/groupbyinc/flux/common/unit/TimeValue;callbackGLcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;done%Ljava/util/concurrent/CountDownLatch;wrapperCallbackmyElectionContextstopElectionContext(Ljava/lang/String;)V??
?contextreasonLjava/lang/String;startElectionContext3starting an election context, will accumulate joins???z?#double startElectionContext() calls?

2stopping election ([{}])?'(Ljava/lang/String;Ljava/lang/Object;)V??z?1stopElectionContext() called but not accumulating?closeAndProcessPending??

?handleJoinRequestt(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/discovery/zen/MembershipAction$JoinCallback;)VaddIncomingJoin??

?zen-disco-node-join?#com/groupbyinc/flux/common/Priority?URGENT%Lcom/groupbyinc/flux/common/Priority;??	??2com/groupbyinc/flux/cluster/ClusterStateTaskConfig?build[(Lcom/groupbyinc/flux/common/Priority;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;????|(Lcom/groupbyinc/flux/discovery/zen/MembershipAction$JoinCallback;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V,?

?1com/groupbyinc/flux/cluster/service/MasterService?submitStateUpdateTask?(Ljava/lang/String;Ljava/lang/Object;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener;)V??
??nodeALcom/groupbyinc/flux/discovery/zen/MembershipAction$JoinCallback;.election check requested but no active context?isEnoughPendingJoins(I)Z??

?6not enough joins for election. Got [{}], required [{}]?
access$000I(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;)I??

?7have enough joins for election. Got [{}], required [{}]?closeAndBecomeMasterb

pendingMasterJoins
access$1002()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;'(	
access$200)(		
access$300(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$JoinTaskExecutor;x0
access$400k(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/cluster/service/MasterService;
access$700p(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
access$800
access$900access$1000z(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;access$1100access$1200access$1300n(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/discovery/zen/ElectMasterService;java/lang/ClassdesiredAssertionStatus|
_BECOME_MASTER_TASK_ 5com/groupbyinc/flux/common/transport/TransportAddress"META_ADDRESSLjava/net/InetAddress;$%	#&(Ljava/net/InetAddress;I)V,(
#)java/util/Collections+emptyMap()Ljava/util/Map;-.
,/emptySet()Ljava/util/Set;12
,3com/groupbyinc/flux/Version5CURRENTLcom/groupbyinc/flux/Version;78	69?(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Ljava/util/Map;Ljava/util/Set;Lcom/groupbyinc/flux/Version;)V,;
<_FINISH_ELECTION_>
<CodeLocalVariableTableLineNumberTable
StackMapTable
SourceFileInnerClasses! !"#$%&'()(*+,-A?'*?0*?Y*?3?5*?7*+?9*,?;*-?=?B4'>?'' '!"'@ACI@DJK!L&MBCA	ӻIY?L:?Y*-?O::*Y:²Q?*?7?
?SYU?X?*?7:*?7?`*?dç:??,?j?p?t???:*?x?~???6*?x?,????*????9:*?x????%*??Y?????????????????MPPUPXgkEg?Gh??GB\	????4???>??????????
????????&C^]
^lqr6s<tFuJvXyg{hk}m?y?????????????????D2	?6ZI
\Yf?BE#JG5"??A]*?7+?*,???B >??&??C??
?D
!?bAn/*?xĹ??Q?*?7?
?SYȷX?*?
Y*?ɵ7?B/>?C??"?.?D"??A??*?x?+??*YM²Q?*?7?
?SYзX?*?7+??*?7,çN,?-??699<9B?>????C???'?/?4?>?D?'\Qf?!??A?	8*?7?*?7+,??*?d?#*?9?+???*?5?
Y,*?x???B 8>?8?(8??C????!?4?7?D"abA???Q?*?7?
?SY?X?*?7??<*?7???+*?x?~?P*?x???*?7???????4*?x?~?*?x???*?7??????*?7?*?7?B?>?e?C:???*?6?D?J?R?^?l?r?w?~???D	?:$A??C;A?
?C;A/*?5?B
?C;A/*?9?B
?C;A/*?x?B
?C;A/*?x?B
?C;A/*?x?B
?C;A/*?;?B
?C;A/*?x?B
?C;A/*?x?B
?C;A/*?=?B
?C;bA?S????Q?Y!?#Y?'?*?0?4?:?=??Y??#Y?'?*?0?4?:?@?
?C;?"?1?C?R?D@EFB

		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy