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

com.groupbyinc.flux.gateway.AsyncShardFetch.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?+com/groupbyinc/flux/gateway/AsyncShardFetch~Ljava/lang/Object;Lcom/groupbyinc/flux/common/lease/Releasable;java/lang/Object+com/groupbyinc/flux/common/lease/ReleasableAsyncShardFetch.java5com/groupbyinc/flux/gateway/AsyncShardFetch$NodeEntry		NodeEntry7com/groupbyinc/flux/gateway/AsyncShardFetch$FetchResultFetchResult0com/groupbyinc/flux/gateway/AsyncShardFetch$ListList-com/groupbyinc/flux/gateway/AsyncShardFetch$1java/util/Map$Entry
java/util/MapEntrylogger-Lcom/groupbyinc/flux/common/logging/ESLogger;typeLjava/lang/String;shardId)Lcom/groupbyinc/flux/index/shard/ShardId;action2Lcom/groupbyinc/flux/gateway/AsyncShardFetch$List;xLcom/groupbyinc/flux/gateway/AsyncShardFetch$List;TT;>;cacheLjava/util/Map;_Ljava/util/Map;>;
nodesToIgnoreLjava/util/Set;#Ljava/util/Set;closedZ?(Lcom/groupbyinc/flux/common/logging/ESLogger;Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/gateway/AsyncShardFetch$List;)V()V*,
-java/util/HashMap/
0-"#	2java/util/HashSet4
5-%&	7	9	;	= 	?this2Lcom/groupbyinc/flux/gateway/AsyncShardFetch;-Lcom/groupbyinc/flux/gateway/AsyncShardFetch;yLcom/groupbyinc/flux/gateway/AsyncShardFetch$List<+Lcom/groupbyinc/flux/action/support/nodes/BaseNodesResponse;TT;>;close()	FgetNumberOfInFlightFetches()Ivalues()Ljava/util/Collection;JKLjava/util/CollectionNiterator()Ljava/util/Iterator;PQORjava/util/IteratorThasNext()ZVWUXnext()Ljava/lang/Object;Z[U\
isFetching^W

_	nodeEntry;7Lcom/groupbyinc/flux/gateway/AsyncShardFetch$NodeEntry;countI	fetchData?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/cluster/metadata/MetaData;Ljava/util/Set;)Lcom/groupbyinc/flux/gateway/AsyncShardFetch$FetchResult;java/lang/IllegalStateExceptionhjava/lang/StringBuilderj
k-append-(Ljava/lang/Object;)Ljava/lang/StringBuilder;mn
ko(: can't fetch data on closed async fetchq-(Ljava/lang/String;)Ljava/lang/StringBuilder;ms
kttoString()Ljava/lang/String;vw
kx(Ljava/lang/String;)V*z
i{
java/util/Set}addAll(Ljava/util/Collection;)Z?~?fillShardCacheWithDataNodesC(Ljava/util/Map;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)V??
?findNodesToFetch (Ljava/util/Map;)Ljava/util/Set;??
?isEmpty?W~?~RmarkAsFetching?,

?size?I~?java/lang/String?[Ljava/lang/String;?	getNodeId?w

?
asyncFetchn(Lcom/groupbyinc/flux/index/shard/ShardId;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V??
?hasAnyNodeFetching(Ljava/util/Map;)Z??
?=com/groupbyinc/flux/common/google/common/collect/ImmutableSet?ofA()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;??
??Y(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;)V*?

?entrySet()Ljava/util/Set;???getKey?[?getValue?[?/com/groupbyinc/flux/cluster/node/DiscoveryNodes?getD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??isFailed?W

?remove?,U?add(Ljava/lang/Object;)Z??~?-com/groupbyinc/flux/cluster/metadata/MetaData?.com/groupbyinc/flux/cluster/node/DiscoveryNode?

?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???copyOfW(Ljava/util/Collection;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;??
??clear?,~?nodes failed [?(I)Ljava/lang/StringBuilder;m?
k?], ignored [?]?reroute>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)V??
?nodesIdsindexentryeLjava/util/Map$Entry;>;Ljava/util/Map$Entry;nodeIdnode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;it{Ljava/util/Iterator;>;>;Ljava/util/Iterator;DLjava/util/Map;failedNodesallIgnoreNodesnodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;metaData/Lcom/groupbyinc/flux/cluster/metadata/MetaData;ignoreNodesnodesToFetchMLjava/util/Set;>;processAsyncFetch?(Lcom/groupbyinc/flux/index/shard/ShardId;[Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse;[Lcom/groupbyinc/flux/action/FailedNodeException;)V0{} ignoring fetched [{}] results, already closed?+com/groupbyinc/flux/common/logging/ESLogger?trace((Ljava/lang/String;[Ljava/lang/Object;)V??"{} processing fetched [{}] results<[Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse;9com/groupbyinc/flux/action/support/nodes/BaseNodeResponsegetNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;	

getId
w
?&(Ljava/lang/Object;)Ljava/lang/Object;?-{} node {} has failed for [{}] (failure [{}])
getFailure()Ljava/lang/Throwable;

{} marking {} as done for [{}]doneFetching(Ljava/lang/Object;)V

1[Lcom/groupbyinc/flux/action/FailedNodeException;!{} processing failure {} for [{}]!.com/groupbyinc/flux/action/FailedNodeException#?w
$%getCause'
$($com/groupbyinc/flux/ExceptionsHelper*unwrapCause,(Ljava/lang/Throwable;)Ljava/lang/Throwable;,-
+.Gcom/groupbyinc/flux/common/util/concurrent/EsRejectedExecutionException0>com/groupbyinc/flux/transport/ReceiveTimeoutTransportException21com/groupbyinc/flux/ElasticsearchTimeoutException4java/lang/Throwable6restartFetching8,

9,{}: failed to list shard for {} on node [{}];warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V=>??(Ljava/lang/Throwable;)VA

B
post_responseDresponseTT;;Lcom/groupbyinc/flux/action/support/nodes/BaseNodeResponse;unwrappedCauseLjava/lang/Throwable;failure0Lcom/groupbyinc/flux/action/FailedNodeException;	responses[TT;failures	dataNodes7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;PQ
?R3com/groupbyinc/flux/common/collect/ImmutableOpenMapT
URGcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursorWvalueLjava/lang/Object;YZ	X[containsKey]?^

{keySeta?b
nodeExists(Ljava/lang/String;)Zde
?fcursor?Lcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;ILcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;(Ljava/util/Iterator;
shardCachehasDatamW

n'com/groupbyinc/flux/index/shard/ShardIdpgetIndexrw
qsH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;?u
?v{} fetching [{}] from {}xl(Lcom/groupbyinc/flux/gateway/AsyncShardFetch;Lcom/groupbyinc/flux/index/shard/ShardId;[Ljava/lang/String;)V*z
{list?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;[Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V}~
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/logging/ESLogger;Ljava/lang/String;Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/gateway/AsyncShardFetch$List<+Lcom/groupbyinc/flux/action/support/nodes/BaseNodesResponse;TT;>;)V
StackMapTable?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;Lcom/groupbyinc/flux/cluster/metadata/MetaData;Ljava/util/Set;)Lcom/groupbyinc/flux/gateway/AsyncShardFetch$FetchResult;a(Lcom/groupbyinc/flux/index/shard/ShardId;[TT;[Lcom/groupbyinc/flux/action/FailedNodeException;)V?(Ljava/util/Map;>;Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)V?(Ljava/util/Map;>;)Ljava/util/Set;>;b(Ljava/util/Map;>;)Z
SourceFileInnerClasses! ?!"#?$%&?'()
*+??0*?.*?0Y?1?3*?5Y?6?8*+?:*,?<*-?>*?@??40AC0000 ?0AB0D?"E@AFG$H)I/J??!E,?F*?G??AC?AB?
MN!HI??3<*?3?M?SM,?Y?,?]?
N-?`??????? $
ac3AC1de?$
ab3AB?TU$V+W.Y1Z?
?U?!fg?2?*?G?!?iY?kY?l*?>?pr?u?y?|?*?8-??W**?3+??**?3??:???s??:?Y??]?
:?????????:6??:?Y??]?
:???S???**?>,??**?3????
Y*?>????????0Y?1:?5Y?6:*?3????:?Y?n?]?:????:	???
:
+	??:?:
?????
????W?
???
?˹?W???*?8??:*?8?????
???8**?>?kY?lضu????ݶu????߶u?y??
Y*?>?????lac?
ac?=???:?e\?? P?	,Dac
4<???u????f#???&|d?&?AC????????&C??&?plab?
ab\??,Dab
?u????f????'|d?'?AB??'C?????$ef%h0i9jCkMmlnqotp?q?r?s?t?u?y?z?}?~??? ?,?4?9?B?I?Y?a?p?s?|?????????
%?0~U???U?%?
?!~U?Z??~~~U?
????~~~U??%~4??$????
?*?G?*?:??Y+SY*??&?*(abFABFl$>?????(?8?A?D???~U,???????-+?M?SM,?Y?,?]?
N-?`??????? 	ac-AC-l#? 	ab-AB-l$???&?(+??U???????	A-+?t?w:*?:y?Y+SY*?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy