com.groupbyinc.flux.cluster.action.shard.ShardStateAction$ShardStartedClusterStateTaskExecutor.class Maven / Gradle / Ivy
???? 4 ^com/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor ?Ljava/lang/Object;Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor;Lcom/groupbyinc/flux/cluster/ClusterStateTaskListener; java/lang/Object 4com/groupbyinc/flux/cluster/ClusterStateTaskExecutor 4com/groupbyinc/flux/cluster/ClusterStateTaskListener ShardStateAction.java 9com/groupbyinc/flux/cluster/action/shard/ShardStateAction $ShardStartedClusterStateTaskExecutor Gcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult ClusterTasksResult Dcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry
ShardEntry Ocom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder Builder %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup allocationService BLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService; logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; $assertionsDisabled Z }(Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V ()V " $
% ' ) this `Lcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardStartedClusterStateTaskExecutor; execute ?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult; java/lang/Exception / builder S()Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; 1 2
3 java/util/ArrayList 5
6 % java/util/List 8 size ()I : ; 9 < (I)V " >
6 ? java/util/HashSet A
B % iterator ()Ljava/util/Iterator; D E 9 F (com/groupbyinc/flux/cluster/ClusterState H
java/util/Set J java/util/Iterator L hasNext ()Z N O M P next ()Ljava/lang/Object; R S M T ! V primaryTerm J X Y Z java/lang/AssertionError \ java/lang/StringBuilder ^
_ % !shard is only started by itself: a append -(Ljava/lang/String;)Ljava/lang/StringBuilder; c d
_ e -(Ljava/lang/Object;)Ljava/lang/StringBuilder; c g
_ h toString ()Ljava/lang/String; j k
_ l (Ljava/lang/Object;)V " n
] o getRoutingTable 4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable; q r
I s shardId )Lcom/groupbyinc/flux/index/shard/ShardId; u v w allocationId Ljava/lang/String; y z { 0com/groupbyinc/flux/cluster/routing/RoutingTable } getByAllocationId o(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting; ?
~ ? B{} ignoring shard started task [{}] (shard does not exist anymore) ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? success e(Ljava/lang/Object;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; ? ?
? 0com/groupbyinc/flux/cluster/routing/ShardRouting ? initializing ? O
? ? active ? O
? ? 'expected active shard routing for task ? but found ? N{} ignoring shard started task [{}] (shard exists but is not initializing: {}) ? K(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V ? ? ? ? contains (Ljava/lang/Object;)Z ? ? K ? C{} ignoring shard started task [{}] (already scheduled to start {}) ? trace ? ? ? ? add ? ? 9 ? /{} starting shard {} (shard started task: [{}]) ? K ?
] % @com/groupbyinc/flux/cluster/routing/allocation/AllocationService ? applyStartedShards f(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterState; ? ?
? ? successes g(Ljava/lang/Iterable;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; ? ?
? "java/lang/invoke/LambdaMetafactory ? metafactory ?(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; ? ?
? ? ? S lambda$execute$0 $(Ljava/util/List;)Ljava/lang/Object; ? ?
? ? get Q(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; ? ? ? warn W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V ? ? ? ? failures |(Ljava/lang/Iterable;Ljava/lang/Exception;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; ? ?
? build u(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult; ? ?
? matched 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; task FLcom/groupbyinc/flux/cluster/action/shard/ShardStateAction$ShardEntry; e Ljava/lang/Exception; currentState *Lcom/groupbyinc/flux/cluster/ClusterState; tasks XLjava/util/List; Ljava/util/List; ?Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; QLcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult$Builder; tasksToBeApplied shardRoutingsToBeApplied DLjava/util/List; seenShardRoutings CLjava/util/Set; Ljava/util/Set; maybeUpdatedState onFailure *(Ljava/lang/String;Ljava/lang/Exception;)V lambda$onFailure$1 &(Ljava/lang/String;)Ljava/lang/Object; ? ?
? ? S(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; ? ? ? error ? ? ? ? source Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage ? unexpected failure during [{}] ? '(Ljava/lang/String;Ljava/lang/Object;)V " ?
? ? !failed to apply started shards {} java/lang/Class desiredAssertionStatus O
Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/ClusterStateTaskExecutor$ClusterTasksResult; BootstrapMethods
SourceFile InnerClasses ! ! " # Y *? &*+? (*,? *? + ,
? ? ? ? - . c
?? 4N? 6Y? 7:? 6Y,? = ? @:? BY? C:,? G :? Q ?+? U ? :? W? )? [ ?? ? ]Y? _Y? `b? f? i? m? p?+? t? x? |? ?: ? *? *?? x? ? -? ?W? ? ? ?? U? W? 1 ? ?? )? ]Y? _Y? `?? f? i?? f ? i? m? p?*? *?? x ? ? -? ?W? b ? ? ? $*? *?? x ? ? ? ? W? 5*? *?? x ? ? ? ? W ? ? W ? ? W??Ѳ W? ? = ? = ? ? ]Y? ??+:*? (+? ?:-? ?W? :*? *? ? ? ? -? ?W-? ְ ??? 0 p ? ? ? ? C ? ? ? ? ? ? + , ? ? ? ? ? ? ? 1 ?
? ? ? ? ? ? %? ? ? ? : ? ? 4 ? ? ? ? 1 ?
? ? ? ? ? ? %? ? ?
~ ? ?
? ? %? C? o? ?? ?? ?? ?? ?? ?? ?? ?? ??*?>?H?R?\?_?~??????????????? Z ? - I 9 9 9 K M ? A ? 3 ?;,? 1? ? I 9 9 9 K I 0
0 ? ? S *? *+? ? ,? ? ? + , ? z ? ?
? ?
? ? 5 ? ?Y?*? ?? ? z
?
? ? 6 ? ?Y*? ?? ? ?
? $ 4 ?? ? ? W?
? @ ? ? ? ? ? ? ? ?
*
© 2015 - 2025 Weber Informatics LLC | Privacy Policy