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

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

There is a newer version: 59
Show newest version
????3?0com/groupbyinc/flux/gateway/DanglingIndicesState6com/groupbyinc/flux/common/component/AbstractComponentDanglingIndicesState.java2com/groupbyinc/flux/gateway/DanglingIndicesState$1:com/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder2com/groupbyinc/flux/cluster/metadata/IndexMetaData
Builder@com/groupbyinc/flux/gateway/LocalAllocateDangledIndices$Listener
7com/groupbyinc/flux/gateway/LocalAllocateDangledIndicesListenernodeEnv)Lcom/groupbyinc/flux/env/NodeEnvironment;metaStateService.Lcom/groupbyinc/flux/gateway/MetaStateService;allocateDangledIndices9Lcom/groupbyinc/flux/gateway/LocalAllocateDangledIndices;danglingIndicesLjava/util/Map;WLjava/util/Map;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/env/NodeEnvironment;Lcom/groupbyinc/flux/gateway/MetaStateService;Lcom/groupbyinc/flux/gateway/LocalAllocateDangledIndices;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V
@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections!newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;#$
"%	'	)	+	-this2Lcom/groupbyinc/flux/gateway/DanglingIndicesState;settings.Lcom/groupbyinc/flux/common/settings/Settings;processDanglingIndices2(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V'com/groupbyinc/flux/env/NodeEnvironment5hasNodeFile()Z78
69cleanupAllocatedDangledIndices;4
<findNewAndAddDanglingIndices>4
?allocateDanglingIndices()VAB
CmetaData/Lcom/groupbyinc/flux/cluster/metadata/MetaData;getDanglingIndices()Ljava/util/Map;=com/groupbyinc/flux/common/google/common/collect/ImmutableMapIcopyOfP(Ljava/util/Map;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;KL
JM
java/util/MapOkeySet()Ljava/util/Set;QRPS
java/util/SetUiterator()Ljava/util/Iterator;WXVYjava/util/Iterator[hasNext]8\^next()Ljava/lang/Object;`a\bjava/lang/Stringd-com/groupbyinc/flux/cluster/metadata/MetaDatafhasIndex(Ljava/lang/String;)Zhi
gjlogger-Lcom/groupbyinc/flux/common/logging/ESLogger;lm	n>[{}] no longer dangling (created), removing from dangling listpjava/lang/Objectr+com/groupbyinc/flux/common/logging/ESLoggertdebug((Ljava/lang/String;[Ljava/lang/Object;)Vvwuxremove&(Ljava/lang/Object;)Ljava/lang/Object;z{P|
danglingIndexLjava/lang/String;findNewDanglingIndices@(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Ljava/util/Map;??
?putAll(Ljava/util/Map;)V??P?java/lang/Throwable?findAllIndices?R
6?failed to list dangling indices?warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V??u?ofA()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;??
J?5com/groupbyinc/flux/common/google/common/collect/Maps?
newHashMap()Ljava/util/HashMap;??
??containsKey(Ljava/lang/Object;)Z??P?,com/groupbyinc/flux/gateway/MetaStateService?loadIndexStateH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
??k[{}] dangling index, exists on local file system, but not in cluster metadata, auto import to cluster state?info?wu?getIndex()Ljava/lang/String;??
?equals??
e?Tdangled index directory name is [{}], state name is [{}], renaming to directory name?builderr(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder;??
?indexP(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData$Builder;??
	?build6()Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
	?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??P?:[{}] dangling index directory detected, but no state found?:[{}] failed to load index state for detected dangled index?indices#Ljava/util/Set;Ljava/util/Set;eLjava/lang/Throwable;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;t	indexName
newIndicesisEmpty?8P?java/util/ArrayList?values()Ljava/util/Collection;??P?(Ljava/util/Collection;)V?
??java/util/Collections?unmodifiableCollection.(Ljava/util/Collection;)Ljava/util/Collection;??
??5(Lcom/groupbyinc/flux/gateway/DanglingIndicesState;)V?
?allocateDangled[(Ljava/util/Collection;Lcom/groupbyinc/flux/gateway/LocalAllocateDangledIndices$Listener;)V??
?failed to send allocate dangled?
access$000a(Lcom/groupbyinc/flux/gateway/DanglingIndicesState;)Lcom/groupbyinc/flux/common/logging/ESLogger;x0
access$100	SignatureCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTableY()Ljava/util/Map;LocalVariableTypeTable?(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Ljava/util/Map;
SourceFileInnerClasses!?	??*+? *?&?(*,?**-?,*?.??4/012?4/5678?34?k*?*?:??*+?=*+?@*?D??/0EF??
@BCDE?GH?2*?(?N??/0?K??;4??L*?(?T?ZM,?_?6,?c?eN+-?k?!*?oq?sY-S?y*?(-?}W??DZ? "&~L/0LEF?R"S*T=UHWKX??\8?>4?G*?(*+??????/0EF?
_`???)?*?*??M?N*?o?-?s???????N,?Z:?_???c?e:+?k??*?(????*?,??:?]*?o??sYS???????.*?o??sYSY??S????????:-??W?*?o??sYS?y?:*?o??sYS????:-??Y????\	????ds?????B???/0?EF ???$??? ?? ???$???Vjnklm p$qBrYtduiv}w?x?y?{?}??????????,	K??V?P\??e
?B?????AB??E*?(????*?.??Y*?(???޸?Y*???L*?o?+?s???03??4??E/0??
??0?3?4?D??d????/*?o???0?)???/*?o???0?)??			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy