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

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

There is a newer version: 59
Show newest version
????3t4com/groupbyinc/flux/discovery/zen/NodeJoinController6com/groupbyinc/flux/common/component/AbstractComponentNodeJoinController.javaEcom/groupbyinc/flux/discovery/zen/NodeJoinController$ProcessJoinsTaskProcessJoinsTaskDcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext	ElectionContextEcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallbackElectionCallback6com/groupbyinc/flux/discovery/zen/NodeJoinController$36com/groupbyinc/flux/discovery/zen/NodeJoinController$26com/groupbyinc/flux/discovery/zen/NodeJoinController$1Jcom/groupbyinc/flux/discovery/zen/membership/MembershipAction$JoinCallback=com/groupbyinc/flux/discovery/zen/membership/MembershipActionJoinCallbackclusterService,Lcom/groupbyinc/flux/cluster/ClusterService;routingService4Lcom/groupbyinc/flux/cluster/routing/RoutingService;discoverySettings1Lcom/groupbyinc/flux/discovery/DiscoverySettings;accumulateJoins+Ljava/util/concurrent/atomic/AtomicBoolean;electionContext-Ljava/util/concurrent/atomic/AtomicReference;uLjava/util/concurrent/atomic/AtomicReference;pendingJoinRequestsLjava/util/Map;?Ljava/util/Map;>;$assertionsDisabledZ?(Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lcom/groupbyinc/flux/discovery/DiscoverySettings;Lcom/groupbyinc/flux/common/settings/Settings;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V*,
-)java/util/concurrent/atomic/AtomicBoolean/(Z)V*1
02 !	4+java/util/concurrent/atomic/AtomicReference6()V*8
79"#	;java/util/HashMap=
>9%&	@	B	D	Fthis6Lcom/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/InterruptedExceptionNjava/lang/ThrowableP()	Rget()ZTU
0Vjava/lang/AssertionErrorX?waitToBeElectedAsMaster is called we are not accumulating joinsZ(Ljava/lang/Object;)V*\
Y]#java/util/concurrent/CountDownLatch_(I)V*a
`b?(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;ILcom/groupbyinc/flux/cluster/ClusterService;Ljava/util/concurrent/CountDownLatch;)V*d
e
compareAndSet'(Ljava/lang/Object;Ljava/lang/Object;)Zgh
7ijava/lang/IllegalStateExceptionkdouble waiting for electionm(Ljava/lang/String;)V*o
lpfailContext^(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;Ljava/lang/Throwable;)Vrs
t!checkPendingJoinsAndElectIfNeededv8
w)com/groupbyinc/flux/common/unit/TimeValueymillis()J{|
z}java/util/concurrent/TimeUnitMILLISECONDSLjava/util/concurrent/TimeUnit;??	??await#(JLjava/util/concurrent/TimeUnit;)Z??
`?logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?+com/groupbyinc/flux/common/logging/ESLogger?isTraceEnabled?U??
java/util/Map?size()I????java/lang/Object?Etimed out waiting to be elected. waited [{}]. pending node joins [{}]?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??trace((Ljava/lang/String;[Ljava/lang/Object;)V????1com/groupbyinc/flux/ElasticsearchTimeoutException?timed out waiting to be elected?*?
??3unexpected failure while waiting for incoming joins?error=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????2unexpected failure while waiting for pending joins?p(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;Ljava/lang/String;Ljava/lang/Throwable;)Vr?
?pendingNodesItLjava/lang/Throwable;requiredMasterJoins	timeValue+Lcom/groupbyinc/flux/common/unit/TimeValue;callbackGLcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionCallback;done%Ljava/util/concurrent/CountDownLatch;
newContextFLcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;
getMessage()Ljava/lang/String;??
Q?context	throwablejava/lang/StringBuilder?
?9zen-disco-join(failure [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??])?toString??
??#com/groupbyinc/flux/common/Priority?	IMMEDIATE%Lcom/groupbyinc/flux/common/Priority;??	???(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;Ljava/lang/Throwable;Ljava/lang/String;)V*?
?*com/groupbyinc/flux/cluster/ClusterService?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateUpdateTask;)V????reasonLjava/lang/String;startAccumulatingJoinsstarting to accumulate joins?	getAndSet(Z)Z??
0?%double startAccumulatingJoins() calls?()Ljava/lang/Object;T?
7?IstartAccumulatingJoins() called, but there is an ongoing election context?bstopAccumulatingJoins!stopping join accumulation ([{}])?HstopAccumulatingJoins() called, but there is an ongoing election context?3stopAccumulatingJoins() called but not accumulating?'pending joins after accumulation stop [?]processJoinso
handleJoinRequest(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/discovery/zen/membership/MembershipAction$JoinCallback;)V&(Ljava/lang/Object;)Ljava/lang/Object;T?	java/util/Listjava/util/ArrayList
9put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?add(Ljava/lang/Object;)Z.com/groupbyinc/flux/cluster/node/DiscoveryNodejoin from node[-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?
?
nodeCallbacks^Ljava/util/List;Ljava/util/List;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;LLcom/groupbyinc/flux/discovery/zen/membership/MembershipAction$JoinCallback;:election check requested but we are not accumulating joins%keySet()Ljava/util/Set;'(?)
java/util/Set+iterator()Ljava/util/Iterator;-.,/java/util/Iterator1hasNext3U24next6?27isMasterNode9U
:
access$100I(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;)I<=

>pendingSetAsMasterTask@!	
A6not enough joins for election. Got [{}], required [{}]C5elected as master task already submitted, ignoring...E#zen-disco-join(elected_as_master, [G(I)Ljava/lang/StringBuilder;?I
?J] joins received)L?(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;Lcom/groupbyinc/flux/common/Priority;Lcom/groupbyinc/flux/discovery/zen/NodeJoinController$ElectionContext;)V*N
OpendingMasterJoinssourcezen-disco-join(S)UURGENTW?	?X^(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;Lcom/groupbyinc/flux/common/Priority;)V*Z
[
access$000e(Lcom/groupbyinc/flux/discovery/zen/NodeJoinController;)Lcom/groupbyinc/flux/common/logging/ESLogger;x0
access$200
access$300
access$400
access$500
access$600
access$700java/lang/ClassgdesiredAssertionStatusiU
hj	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
SourceFileInnerClasses! !"#l$%&l'()*+m?8*?.*?0Y?3?5*?7Y?:?<*?>Y???A*+?C*,?E*-?G?n48HI8888JKo"<369(=->2?7@LMm4	?S?*?5?W?
?YY[?^??`Y?c:?Y*-*?C?f:*?<?j?*?lYn?q?u?*?x,?~???????:*??????*?AY:?*?A??6ç:??*?????Y,SY??S??*??Y??????u? :*???????*????WfjO??????Sf?Qg??Qn\	??????????HI?????????$???6???oZPR$S6_CaRbSfWifkgojmlpxr?s?t?u?x?|?y?z?{?}pP
?8`
BO?$z
`
?Q?z
`
?UQrsmM*+,??,???n HI????o
?
?r?m|	0*?C??Y??ζ?,??ԶҶ׻Y*??+-,????n*0HI0??0??0??o
?/??8m?G*???????*?5??




© 2015 - 2025 Weber Informatics LLC | Privacy Policy