
com.groupbyinc.flux.cluster.routing.allocation.decider.ClusterRebalanceAllocationDecider.class Maven / Gradle / Ivy
???? 3 ? Xcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider Hcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider &ClusterRebalanceAllocationDecider.java fcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ApplySettings
ApplySettings mcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType ClusterRebalanceType Zcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$1 >com/groupbyinc/flux/node/settings/NodeSettingsService$Listener 5com/groupbyinc/flux/node/settings/NodeSettingsService Listener NAME Ljava/lang/String; cluster_rebalance *CLUSTER_ROUTING_ALLOCATION_ALLOW_REBALANCE *cluster.routing.allocation.allow_rebalance $ALLOCATION_ALLOW_REBALANCE_VALIDATOR 0Lcom/groupbyinc/flux/cluster/settings/Validator; type oLcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; h(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/node/settings/NodeSettingsService;)V *Lcom/groupbyinc/flux/common/inject/Inject; java/lang/IllegalStateException ! 1(Lcom/groupbyinc/flux/common/settings/Settings;)V #
$ indices_all_active & ,com/groupbyinc/flux/common/settings/Settings ( get 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; * +
) , parseString ?(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; . /
0 2 java/lang/String 4 logger -Lcom/groupbyinc/flux/common/logging/ESLogger; 6 7 8 =[{}] has a wrong value {}, defaulting to 'indices_all_active' : java/lang/Object < +com/groupbyinc/flux/common/logging/ESLogger > warn ((Ljava/lang/String;[Ljava/lang/Object;)V @ A ? B INDICES_ALL_ACTIVE D
E using [{}] with [{}] G toString ()Ljava/lang/String; I J
K java/util/Locale M ROOT Ljava/util/Locale; O P N Q toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; S T
5 U debug W A ? X ](Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider;)V Z
[ addListener C(Lcom/groupbyinc/flux/node/settings/NodeSettingsService$Listener;)V ] ^
_ e !Ljava/lang/IllegalStateException; this ZLcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider; settings .Lcom/groupbyinc/flux/common/settings/Settings; nodeSettingsService 7Lcom/groupbyinc/flux/node/settings/NodeSettingsService; allowRebalance canRebalance ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ?(Lcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; j l
m shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
allocation BLcom/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation; INDICES_PRIMARIES_ACTIVE s
t @com/groupbyinc/flux/cluster/routing/allocation/RoutingAllocation v routingNodes 4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes; x y
w z 0com/groupbyinc/flux/cluster/routing/RoutingNodes | hasUnassignedPrimaries ()Z ~
} ? ?com/groupbyinc/flux/cluster/routing/allocation/decider/Decision ? NO ALcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ? ? ? ? %cluster has unassigned primary shards ? decision ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/Decision; ? ?
w ? hasInactivePrimaries ?
} ? #cluster has inactive primary shards ? YES ? ? ? ? all primary shards are active ? hasUnassignedShards ?
} ? cluster has unassigned shards ? hasInactiveShards ?
} ? cluster has inactive shards ? all shards are active ?
access$000 ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; x0
access$100 ?(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider;)Lcom/groupbyinc/flux/common/logging/ESLogger;
access$002:(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType;)Lcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider$ClusterRebalanceType; x1 ()V ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable RuntimeVisibleAnnotations
SourceFile InnerClasses ! ? ? ? k*+? %+'? -N*-? 1? 3? $:*? 9;? =YSY-S? C *? F? 3*? 9H? =YSY*? 3? L? R? VS? Y ,? Y*? \? `? " ? 4 a b k c d k e f k g h ] i ? *
c d f j g h 3 i : k ^ m j n ? ? ) 5 " ? j k ? D *,? n? ? c d o p q r ? ? j l ? ?*? 3? u? G+? {? ?? +? ??? =? ??+? {? ?? +? ??? =? ??+? ??? =? ??*? 3? F? 7+? {? ?? +? ??? =? ??+? {? ?? +? ??? =? ??+? ??? =? ?? ? ? c d ? q r ? 2 ?
? ? $ ? . ? > ? N ? X ? b ? r ? | ? ? ? ? $# ? ? ? / *? 3? ? ? d ? 1 ? ? ? / *? 9? ? ? d ? 1 ? ? ? ; *+Z? 3? ? ? d ? ? 1 ? ? ? # ?
Y? ?? ?? ? 6 ? ? "
@
© 2015 - 2025 Weber Informatics LLC | Privacy Policy