com.groupbyinc.flux.indices.recovery.RecoveryState.class Maven / Gradle / Ivy
???? 4? 2com/groupbyinc/flux/indices/recovery/RecoveryState java/lang/Object 6com/groupbyinc/flux/common/xcontent/ToXContentFragment /com/groupbyinc/flux/common/io/stream/Streamable RecoveryState.java 4com/groupbyinc/flux/indices/recovery/RecoveryState$1
8com/groupbyinc/flux/indices/recovery/RecoveryState$Index Index 7com/groupbyinc/flux/indices/recovery/RecoveryState$File File ;com/groupbyinc/flux/indices/recovery/RecoveryState$Translog Translog >com/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex VerifyIndex 8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer Timer 9com/groupbyinc/flux/indices/recovery/RecoveryState$Fields Fields 8com/groupbyinc/flux/indices/recovery/RecoveryState$Stage Stage 5com/groupbyinc/flux/common/xcontent/ToXContent$Params ! .com/groupbyinc/flux/common/xcontent/ToXContent # Params 7com/groupbyinc/flux/cluster/routing/RecoverySource$Type & 2com/groupbyinc/flux/cluster/routing/RecoverySource ( Type 5com/groupbyinc/flux/common/io/stream/Writeable$Reader + .com/groupbyinc/flux/common/io/stream/Writeable - Reader %java/lang/invoke/MethodHandles$Lookup 0 java/lang/invoke/MethodHandles 2 Lookup stage :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; index :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; translog =Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog; verifyIndex @Lcom/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex; timer :Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer; recoverySource 4Lcom/groupbyinc/flux/cluster/routing/RecoverySource; shardId )Lcom/groupbyinc/flux/index/shard/ShardId;
sourceNode 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; %Lcom/groupbyinc/flux/common/Nullable;
targetNode primary Z $assertionsDisabled ()V J K
L
L 7 8 O
L 9 : R
L ; < U
L = > X G H Z this 4Lcom/groupbyinc/flux/indices/recovery/RecoveryState; ?(Lcom/groupbyinc/flux/cluster/routing/ShardRouting;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V I H _ 0com/groupbyinc/flux/cluster/routing/ShardRouting a initializing ()Z c d
b e java/lang/AssertionError g java/lang/StringBuilder i
j L 7only allow initializing shard routing to be recovered: l append -(Ljava/lang/String;)Ljava/lang/StringBuilder; n o
j p -(Ljava/lang/Object;)Ljava/lang/StringBuilder; n r
j s toString ()Ljava/lang/String; u v
j w (Ljava/lang/Object;)V J y
h z .com/groupbyinc/flux/cluster/node/DiscoveryNode | 6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource; ? ~
b getType ;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type; ? ?
) ? PEER 9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type; ? ? ' ? 3peer recovery requires source node, recovery type: ? source node: ? +()Lcom/groupbyinc/flux/index/shard/ShardId; A ?
b ? A B ? G d
b ? ? @ ? C D ? F D ? INIT ? 6 ? 5 6 ? start ? K
? shardRouting 2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;
getShardId getStage <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage; validateAndSetStage w(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;)V java/lang/IllegalStateException ? can't move recovery to stage [ ? ]. current stage: [ ?
] (expected [ ? ]) ? (Ljava/lang/String;)V J ?
? ? expected next setStage p(Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; A$SwitchMap$org$elasticsearch$indices$recovery$RecoveryState$Stage [I ? ? ? ordinal ()I ? ?
? getIndex <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index; ? ?
? reset ? K
? getVerifyIndex B()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$VerifyIndex; ? ?
?
? getTranslog ?()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog; ? ?
?
? ? ?
?
? INDEX ? 6 ? stop ? K
?
? VERIFY_INDEX ? 6 ?
?
? TRANSLOG ? 6 ?
? FINALIZE ? 6 ? getTimer <()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer; ? ?
?
? "java/lang/IllegalArgumentException ? unknown RecoveryState.Stage [ ? ] ?
? ? getRecoverySource
getSourceNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;
getTargetNode
getPrimary readRecoveryState h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/indices/recovery/RecoveryState; java/io/IOException ?
L readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V ?
in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput;
recoveryState
0com/groupbyinc/flux/common/io/stream/StreamInput readByte ()B
fromId =(B)Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;
'com/groupbyinc/flux/index/shard/ShardId readShardId ](Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/shard/ShardId;
h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/RecoverySource; ?
) J
} "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;
! F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;# d(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;& read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;() * readOptionalWriteable i(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;,-
.
readBoolean3 d
4 writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V67
8 id:
; 1com/groupbyinc/flux/common/io/stream/StreamOutput= writeByte (B)V?@
>A
8
)8
}8 writeOptionalWriteable 3(Lcom/groupbyinc/flux/common/io/stream/Writeable;)VFG
>H
8
8
8 writeBoolean (Z)VMN
>O out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;:: ?
V 3com/groupbyinc/flux/common/xcontent/XContentBuilderX field J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Z[
Y\ type^ [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Z`
Ya 5
w [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Ze
Yf G J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Zi
Yj start_time_in_millisl
start_timen startTime Jpq r timeField \(Ljava/lang/String;Ljava/lang/String;J)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;tu
Yv stopTimexq y stop_time_in_millis{ stop_time} total_time_in_millis
total_time? )com/groupbyinc/flux/common/unit/TimeValue? time ()J??
? (J)V J?
?? humanReadableField m(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
Y? source? startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
Y? getId? v
}? host? getHostName? v
}? transport_address?
getAddress 9()Lcom/groupbyinc/flux/common/transport/TransportAddress;??
}? 5com/groupbyinc/flux/common/transport/TransportAddress?
? w ip? getHostAddress? v
}? name? getName? v
}? endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
Y? addAdditionalFields o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V??
)? target? 7ST
? 9
? verify_index?
? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; java/lang/Class? desiredAssertionStatus? d
?? RuntimeVisibleAnnotations Code LocalVariableTable LineNumberTable
StackMapTable "RuntimeVisibleParameterAnnotations
Exceptions BootstrapMethods
SourceFile InnerClasses ! 5 6 7 8 9 : ; <