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

com.groupbyinc.flux.snapshots.RestoreService$2.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?.com/groupbyinc/flux/snapshots/RestoreService$22com/groupbyinc/flux/cluster/ClusterStateUpdateTaskRestoreService.java,com/groupbyinc/flux/snapshots/RestoreServiceupdateRestoreStateOnMasterV(Lcom/groupbyinc/flux/snapshots/RestoreService$UpdateIndexShardRestoreStatusRequest;)V	0com/groupbyinc/flux/snapshots/RestoreService$2$1Qcom/groupbyinc/flux/snapshots/RestoreService$UpdateIndexShardRestoreStatusRequest
$UpdateIndexShardRestoreStatusRequest@com/groupbyinc/flux/cluster/RestoreInProgress$ShardRestoreStatus-com/groupbyinc/flux/cluster/RestoreInProgressShardRestoreStatus3com/groupbyinc/flux/cluster/RestoreInProgress$EntryEntryjava/util/Map$Entry
java/util/MapFcom/groupbyinc/flux/snapshots/RestoreService$RestoreCompletionResponseRestoreCompletionResponse/com/groupbyinc/flux/cluster/ClusterState$Custom(com/groupbyinc/flux/cluster/ClusterState!Custom3com/groupbyinc/flux/cluster/RestoreInProgress$State$State0com/groupbyinc/flux/cluster/ClusterState$Builder'Builder.com/groupbyinc/flux/snapshots/RestoreService$1*drainedRequestsLjava/util/List;eLjava/util/List;batchedRestoreInfoLjava/util/Map;Ljava/util/Map;>;>;$assertionsDisabledZval$requestSLcom/groupbyinc/flux/snapshots/RestoreService$UpdateIndexShardRestoreStatusRequest;this$0.Lcom/groupbyinc/flux/snapshots/RestoreService;?(Lcom/groupbyinc/flux/snapshots/RestoreService;Lcom/groupbyinc/flux/snapshots/RestoreService$UpdateIndexShardRestoreStatusRequest;)V67	:45	<()V8>
?java/util/ArrayListA
B?,-	D/0	Fthis0Lcom/groupbyinc/flux/snapshots/RestoreService$2;executeV(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState;	processedL3	Maccess$1600T(Lcom/groupbyinc/flux/snapshots/RestoreService;)Ljava/util/concurrent/BlockingQueue;OP
Q"java/util/concurrent/BlockingQueueSdrainTo(Ljava/util/Collection;)IUVTWjava/util/ListYsize()I[\Z]restore_customE(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/ClusterState$Custom;ab
"centries()Ljava/util/List;ef
giterator()Ljava/util/Iterator;ijZkjava/util/IteratormhasNext()Zopnqnext()Ljava/lang/Object;stnuget(I)Ljava/lang/Object;wxZy
snapshotId3()Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;{|
}
}/com/groupbyinc/flux/cluster/metadata/SnapshotId?equals(Ljava/lang/Object;)Z??
??access$1700](Lcom/groupbyinc/flux/snapshots/RestoreService;)Lcom/groupbyinc/flux/common/logging/ESLogger;??
?)[{}] Updating shard [{}] with status [{}]?java/lang/Object?shardId+()Lcom/groupbyinc/flux/index/shard/ShardId;??
?statusD()Lcom/groupbyinc/flux/cluster/RestoreInProgress$ShardRestoreStatus;??
?state7()Lcom/groupbyinc/flux/cluster/RestoreInProgress$State;??
?+com/groupbyinc/flux/common/logging/ESLogger?trace((Ljava/lang/String;[Ljava/lang/Object;)V????shardsA()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;??
?5com/groupbyinc/flux/common/google/common/collect/Maps?
newHashMap$(Ljava/util/Map;)Ljava/util/HashMap;??
??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???
access$500@(Lcom/groupbyinc/flux/snapshots/RestoreService;Ljava/util/Map;)Z??
?STARTED5Lcom/groupbyinc/flux/cluster/RestoreInProgress$State;??	%?indices?f
?=com/groupbyinc/flux/common/google/common/collect/ImmutableMap?copyOfP(Ljava/util/Map;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;??
???(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/cluster/RestoreInProgress$State;Ljava/util/List;Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;)V8?
?add??Z?access$1800??
?restore [{}] is done?info????()Ljava/util/HashMap;??
??23	?containsKey???java/lang/AssertionError?
??(com/groupbyinc/flux/common/collect/Tuple?)com/groupbyinc/flux/snapshots/RestoreInfo?getSnapshot()Ljava/lang/String;??
??]
access$600@(Lcom/groupbyinc/flux/snapshots/RestoreService;Ljava/util/Map;)I??
?'(Ljava/lang/String;Ljava/util/List;II)V8?
??'(Ljava/lang/Object;Ljava/lang/Object;)V8?
??access$1900??
?Dchanged cluster state triggered by {} snapshot restore state updates?java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??toArray(([Ljava/lang/Object;)[Ljava/lang/Object;??Z?6[Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;?9([Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;)V8?
?builder^(Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;?
"	putCustomw(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState$Custom;)Lcom/groupbyinc/flux/cluster/ClusterState$Builder;
(build,()Lcom/groupbyinc/flux/cluster/ClusterState;
(	updateSnapshotStateiI|Ljava/util/Map;entry5Lcom/groupbyinc/flux/cluster/RestoreInProgress$Entry;updatedRestore/Lcom/groupbyinc/flux/cluster/RestoreInProgress;changedCountGLjava/util/List;currentState*Lcom/groupbyinc/flux/cluster/ClusterState;	batchSize	onFailure*(Ljava/lang/String;Ljava/lang/Throwable;)V%Lcom/groupbyinc/flux/common/Nullable;access$2000?
1[{}][{}] failed to update snapshot status to [{}]warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V !?"requestsourceLjava/lang/String;tLjava/lang/Throwable;clusterStateProcessedi(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/ClusterState;)VentrySet()Ljava/util/Set;+,-
java/util/Set/0kgetKey2t3getValue5t6v18t
?9v2;t
?<getRoutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;>?
"@java/lang/StringB0com/groupbyinc/flux/cluster/routing/RoutingTableDSUCCESSF?	%G'com/groupbyinc/flux/index/shard/ShardIdIfindPrimaryShard?(Lcom/groupbyinc/flux/cluster/routing/RoutingTable;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;KL
M0com/groupbyinc/flux/cluster/routing/ShardRoutingOactiveQp
PRaccess$2100T?
U'[{}][{}] waiting for the shard to startWisEmptyYpZZnotifyListeners_(Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/RestoreInfo;)V\]
^
access$400\(Lcom/groupbyinc/flux/snapshots/RestoreService;)Lcom/groupbyinc/flux/cluster/ClusterService;`a
b?(Lcom/groupbyinc/flux/snapshots/RestoreService$2;Ljava/util/List;Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/RestoreInfo;)V8d
e*com/groupbyinc/flux/cluster/ClusterServicegaddLast5(Lcom/groupbyinc/flux/cluster/ClusterStateListener;)Vijhk)Lcom/groupbyinc/flux/index/shard/ShardId;shardRouting2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;shard?Ljava/util/Map$Entry;Ljava/util/Map$Entry;1Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;restoreInfo+Lcom/groupbyinc/flux/snapshots/RestoreInfo;routingTable2Lcom/groupbyinc/flux/cluster/routing/RoutingTable;waitForStarted;Ljava/util/List;Ljava/util/Map$Entry;>;>;oldStatenewStategetIndex}?
J~indexK(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/IndexRoutingTable;??
E?id?\
J?5com/groupbyinc/flux/cluster/routing/IndexRoutingTable??(I)Lcom/groupbyinc/flux/cluster/routing/IndexShardRoutingTable;p?
??:com/groupbyinc/flux/cluster/routing/IndexShardRoutingTable?primaryShard4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;??
??indexShardRoutingTable;+Lcom/groupbyinc/flux/action/ActionListener;access$2200?(Lcom/groupbyinc/flux/snapshots/RestoreService$2;Lcom/groupbyinc/flux/cluster/routing/RoutingTable;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/cluster/routing/ShardRouting;x0x1x2access$2400?(Lcom/groupbyinc/flux/snapshots/RestoreService$2;Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;Lcom/groupbyinc/flux/snapshots/RestoreInfo;)Vjava/lang/Class?desiredAssertionStatus?p
??	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable"RuntimeVisibleParameterAnnotations
SourceFileEnclosingMethodInnerClasses ,-?./0?1234567	89?[*+?;*,?=*?@*?BY?C?E*?G??HI67?JK??*?=?N?+?*?;?R*?E?XW*?E?^=?+?+`?d?N-??6?BY?C:-?h?l:?r?h?v?::6		??*?E	?z?:

?N?~
????T*?;?????Y
?SY
??SY
????S???
????:
??
????W??	?????*?;???'?Y?~??????????W??*?;?????Y?~S??*?G?
*?ϵG?њ*?G?~?????Y?׿*?G?~??Y??Y?~????????*?;??d?????W?
??W????I*?;?????Y??S???Y?^???????:+?`??
?+??p?g5
n?
	kS?0hV?>?
G?e-HI'?
7?_?kS?G?e??'

'+-7;>Ghk t!?"?$?%?&?'?)?*? ?.?/0&2@3G4N6m7?9?7?=???A?B?D?EH?D? ?$"Zn??g??4'?F?	??J??N*?E?lN-?r?=-?v?:*?;?,??Y?SY??SY??S?#?????*,$5NHIN%&N'(?MNJOMP??
n?B?	)*??#*?G?*?G?.?1:?r??v?:?4??:?7?ٶ:??:?7?ٶ=?:-?A:	?BY?C:
?.?1:?r?o?v?:?7????H?M?4?J:
*	
?N:?2?S?**?;?VX??YSY
S??

??W???
?[?*?_?*?;?c?Y*
?f?l??????
?>?m
?4no?]pr9?{sK?tu]??0c?vw	l?x-
-?r#HI#%&#{#|?*?]pq]??l?xy
-?z?RTU-V9WKX]YcZl[?\?]?^?_?`?a?d?e?fh~"??S?n?bC""n??EZn?r??C""n?KL??$+,???N-?-,????:?	?????4??$HI$vw$?m	????	?
???"???"?\]?S*?;????N-?r?A-?v??:?Y+,?????:*?;?????YS?#????03??45?(0??SHIS{sStu?0?????0?3?5?O?R??'?n?'??n???????E*+,?N?? ?I?w?m????E*+,?_?? ?I?s?u??>?4?????ѱ??@??
?Z				 "#	%&@(")	+




© 2015 - 2025 Weber Informatics LLC | Privacy Policy