com.groupbyinc.flux.action.admin.indices.recovery.TransportRecoveryAction.class Maven / Gradle / Ivy
???? 4! Icom/groupbyinc/flux/action/admin/indices/recovery/TransportRecoveryAction Lcom/groupbyinc/flux/action/support/broadcast/node/TransportBroadcastByNodeAction; Pcom/groupbyinc/flux/action/support/broadcast/node/TransportBroadcastByNodeAction TransportRecoveryAction.java /com/groupbyinc/flux/threadpool/ThreadPool$Names )com/groupbyinc/flux/threadpool/ThreadPool Names 8com/groupbyinc/flux/indices/recovery/RecoveryState$Stage 2com/groupbyinc/flux/indices/recovery/RecoveryState Stage %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup indicesService ,Lcom/groupbyinc/flux/indices/IndicesService; `(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/indices/IndicesService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; indices:monitor/recovery "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;
! " ()Ljava/lang/Object; $ Acom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest & ()V (
' ) * E()Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest; , get ()Ljava/util/function/Supplier; . / 0
management 2u(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;Ljava/lang/String;)V 4
5 7 this KLcom/groupbyinc/flux/action/admin/indices/recovery/TransportRecoveryAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; transportService 0Lcom/groupbyinc/flux/transport/TransportService;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; readShardResult h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; java/io/IOException I readRecoveryState K H
L in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; newResponse ?(Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse; java/util/HashMap R
S ) java/util/List U iterator ()Ljava/util/Iterator; W X V Y
java/util/Map [ java/util/Iterator ] hasNext ()Z _ ` ^ a next c $ ^ d
getShardId +()Lcom/groupbyinc/flux/index/shard/ShardId; f g
h 'com/groupbyinc/flux/index/shard/ShardId j getIndexName ()Ljava/lang/String; l m
k n containsKey (Ljava/lang/Object;)Z p q \ r java/util/ArrayList t
u ) put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; w x \ y java/lang/String {
activeOnly } `
' ~ getStage <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; ? ?
? DONE :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; ? ?
? &(Ljava/lang/Object;)Ljava/lang/Object; . ? \ ? add ? q V ? Bcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse ? detailed ? `
' ? &(IIIZLjava/util/Map;Ljava/util/List;)V ?
? ? indexName Ljava/lang/String;
recoveryState 4Lcom/groupbyinc/flux/indices/recovery/RecoveryState; request CLcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest; totalShards I successfulShards failedShards responses FLjava/util/List; Ljava/util/List;
shardFailures LLjava/util/List; clusterState *Lcom/groupbyinc/flux/cluster/ClusterState; shardResponses iLjava/util/Map;>; Ljava/util/Map; readRequestFrom w(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ? ?
' ? recoveryRequest shardOperation ?(Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; 0com/groupbyinc/flux/cluster/routing/ShardRouting ? shardId ? g
? ? getIndex #()Lcom/groupbyinc/flux/index/Index; ? ?
k ? *com/groupbyinc/flux/indices/IndicesService ? indexServiceSafe K(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/index/IndexService; ? ?
? ? id ()I ? ?
k ? &com/groupbyinc/flux/index/IndexService ? getShard /(I)Lcom/groupbyinc/flux/index/shard/IndexShard; ? ?
? ? *com/groupbyinc/flux/index/shard/IndexShard ? 6()Lcom/groupbyinc/flux/indices/recovery/RecoveryState; ? ?
? ? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting; indexService (Lcom/groupbyinc/flux/index/IndexService;
indexShard ,Lcom/groupbyinc/flux/index/shard/IndexShard; shards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; (com/groupbyinc/flux/cluster/ClusterState ? routingTable 4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable; ? ?
? ? 0com/groupbyinc/flux/cluster/routing/RoutingTable ? #allShardsIncludingRelocationTargets I([Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; ? ?
? ? state concreteIndices [Ljava/lang/String; checkGlobalBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; blocks 3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks; ? ?
? ? 3com/groupbyinc/flux/cluster/block/ClusterBlockLevel ? READ 5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel; ? ? ? ? /com/groupbyinc/flux/cluster/block/ClusterBlocks ? globalBlockedException p(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
? ? checkRequestBlock ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; indicesBlockedException ?(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
? ? ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException; ? ?
?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;[Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardsIterator; ? ?
?(Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;Lcom/groupbyinc/flux/cluster/routing/ShardRouting;)Lcom/groupbyinc/flux/common/io/stream/Streamable; ? ?
s(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest; ? ?
?(Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastResponse; P Q
e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/Streamable; G H
Code LocalVariableTable LineNumberTable RuntimeVisibleAnnotations
Exceptions LocalVariableTypeTable
StackMapTable SignatureH(Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;IIILjava/util/List;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse; BootstrapMethods
SourceFile InnerClasses ! ?
*+,-? 1 3? 6*? 8? R 9 : ; <