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

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

There is a newer version: 59
Show newest version
????3(2com/groupbyinc/flux/cluster/routing/RoutingService?Lcom/groupbyinc/flux/common/component/AbstractLifecycleComponent;Lcom/groupbyinc/flux/cluster/ClusterStateListener;?com/groupbyinc/flux/common/component/AbstractLifecycleComponent0com/groupbyinc/flux/cluster/ClusterStateListenerRoutingService.java4com/groupbyinc/flux/cluster/routing/RoutingService$2	4com/groupbyinc/flux/cluster/routing/RoutingService$1/com/groupbyinc/flux/threadpool/ThreadPool$Names
)com/groupbyinc/flux/threadpool/ThreadPoolNamesCLUSTER_UPDATE_TASK_SOURCELjava/lang/String;cluster_reroute
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;	rerouting+Ljava/util/concurrent/atomic/AtomicBoolean;$minDelaySettingAtLastSchedulingNanosJregisteredNextDelayFuture&Ljava/util/concurrent/ScheduledFuture;$assertionsDisabledZ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V$'
()java/util/concurrent/atomic/AtomicBoolean*()V$,
+-	/???????	3	5	7	9*com/groupbyinc/flux/cluster/ClusterService;addFirst5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)V=><?,com/groupbyinc/flux/common/settings/SettingsA@com/groupbyinc/flux/cluster/routing/allocation/AllocationServiceCthis4Lcom/groupbyinc/flux/cluster/routing/RoutingService;settings.Lcom/groupbyinc/flux/common/settings/Settings;doStartdoStopdoClose !	L6com/groupbyinc/flux/common/util/concurrent/FutureUtilsNcancel (Ljava/util/concurrent/Future;)ZPQ
ORremoveT><UgetAllocationServiceD()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;reroute(Ljava/lang/String;)VperformReroute[Z
\reasonclusterChanged4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V/com/groupbyinc/flux/cluster/ClusterChangedEventastate,()Lcom/groupbyinc/flux/cluster/ClusterState;cd
be(com/groupbyinc/flux/cluster/ClusterStategnodes3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;ij
hk/com/groupbyinc/flux/cluster/node/DiscoveryNodesmlocalNodeMaster()Zop
nqGH	s2com/groupbyinc/flux/cluster/routing/UnassignedInfou)findSmallestDelayedAllocationSettingNanos[(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/ClusterState;)Jwx
vylogger-Lcom/groupbyinc/flux/common/logging/ESLogger;{|	}`no need to schedule reroute - no delayed unassigned shards, minDelaySetting [{}], scheduled [{}]java/lang/Object?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??+com/groupbyinc/flux/common/logging/ESLogger?trace((Ljava/lang/String;[Ljava/lang/Object;)V????findNextDelayedAllocationIn-(Lcom/groupbyinc/flux/cluster/ClusterState;)J??
v?)com/groupbyinc/flux/common/unit/TimeValue?timeValueNanos.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??"#	?nanos()J??
??java/lang/AssertionError?java/lang/StringBuilder?
?-0next delay must be non 0 as minDelaySetting is [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
??]?toString()Ljava/lang/String;??
??(Ljava/lang/Object;)V$?
??Bdelaying allocation for [{}] unassigned shards, next check in [{}]?getNumberOfDelayedUnassigned-(Lcom/groupbyinc/flux/cluster/ClusterState;)I??
v?java/lang/Integer?(I)Ljava/lang/Integer;??
??info????same?7(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)V$?
?scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;??
?fno need to schedule reroute - current schedule reroute is enough. minDelaySetting [{}], scheduled [{}]?	nextDelay+Lcom/groupbyinc/flux/common/unit/TimeValue;minDelaySettingevent1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;'getMinDelaySettingAtLastSchedulingNanosjava/lang/Throwable?	lifecycle0Lcom/groupbyinc/flux/common/component/Lifecycle;??	?.com/groupbyinc/flux/common/component/Lifecycle?stopped?p
??
compareAndSet(ZZ)Z??
+?(already has pending reroute, ignoring {}?rerouting {}?cluster_reroute(?)?#com/groupbyinc/flux/common/Priority?HIGH%Lcom/groupbyinc/flux/common/Priority;??	??n(Lcom/groupbyinc/flux/cluster/routing/RoutingService;Lcom/groupbyinc/flux/common/Priority;Ljava/lang/String;)V$?

?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateUpdateTask;)V??<?set(Z)V??
+?<e2failed to reroute routing table, current state:
{}?prettyPrint?
hwarn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V?*Lcom/groupbyinc/flux/cluster/ClusterState;eLjava/lang/Throwable;
access$0028(Lcom/groupbyinc/flux/cluster/routing/RoutingService;J)Jx0x1
access$100c(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)Lcom/groupbyinc/flux/common/logging/ESLogger;
access$200a(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)Ljava/util/concurrent/atomic/AtomicBoolean;
access$300x(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;
access$400b(Lcom/groupbyinc/flux/cluster/routing/RoutingService;)Lcom/groupbyinc/flux/cluster/ClusterService;
access$500
access$600
access$700java/lang/ClassdesiredAssertionStatusp

ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTableRuntimeVisibleAnnotations	Signature
SourceFileInnerClasses!BB !"#$% ?3*+?)*?+Y?.?0*1?4*,?6*-?8*?:-?
-*?@?!43EF3GH333"&	?9:@A!B'C+D2F#?2B<D$&I, +?!EF"JJ, +?!EF"NK, E*?M?SW*?8*?V?!EF"RSTWX /*?:?!EF"WYZ >*+?]?!EF^"
^__` ??+?f?l?r??*?t+?f?zA 	??5*?~???Y ??SY*?4??S??*1?4*?M?SW?? *?4???*?M?SW* ?4+?f????:???-??	??#??Y??Y????? ??????????*?~???Y+?f????SYS??**?6ŻY*?ȶ̵M?#*?~???Y ??SY*?4??S???!*sh?????EF???"Jc
ghi?jFkQlZmbngosp?q?r?q?s??????#?Q?Q??:??? /*?4?!EF"?[Z :?*?ڶߙ?*?0??*?~???Y+S???*?~???Y+S??*?8??Y????+???????
Y*??+?????-M*?0??*?8??N*?~?,??Y-?S??
n?*n?+kn?!*?co)	?EF?^"6
?
???*?+?>?k?n?o?w?????#?B?)
 ;*]?4?!F
"1 /*?~?!F"1 /*?0?!F"1 /*?:?!F"1 /*?8?!F"1 /*?~?!F"1 /*?~?!F"1 /*?~?!F"1, 4??????"1#@%&'
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy