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

com.groupbyinc.flux.cluster.routing.allocation.DiskThresholdMonitor.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?Ccom/groupbyinc/flux/cluster/routing/allocation/DiskThresholdMonitor6com/groupbyinc/flux/common/component/AbstractComponentDiskThresholdMonitor.java4com/groupbyinc/flux/common/settings/Settings$Builder,com/groupbyinc/flux/common/settings/SettingsBuilder%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles
LookupdiskThresholdSettingsFLcom/groupbyinc/flux/cluster/routing/allocation/DiskThresholdSettings;client#Lcom/groupbyinc/flux/client/Client;nodeHasPassedWatermarkLjava/util/Set;#Ljava/util/Set;clusterStateSupplierLjava/util/function/Supplier;ILjava/util/function/Supplier;	lastRunNSJ?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/function/Supplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/client/Client;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V
(com/groupbyinc/flux/common/util/set/Sets!newConcurrentHashSet()Ljava/util/Set;#$
"%	'	)Dcom/groupbyinc/flux/cluster/routing/allocation/DiskThresholdSettings+f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V-
,.	0	2thisELcom/groupbyinc/flux/cluster/routing/allocation/DiskThresholdMonitor;settings.Lcom/groupbyinc/flux/common/settings/Settings;clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;warnAboutDiskIfNeeded*(Lcom/groupbyinc/flux/cluster/DiskUsage;)V%com/groupbyinc/flux/cluster/DiskUsage<getFreeBytes()J>?
=@getFreeBytesThresholdFloodStage1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;BC
,D-com/groupbyinc/flux/common/unit/ByteSizeValueFgetBytesH?
GIlogger!Lorg/apache/logging/log4j/Logger;KL	Maflood stage disk watermark [{}] exceeded on {}, all indices on this node will be marked read-onlyOorg/apache/logging/log4j/LoggerQwarn9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VSTRUgetFreeBytesThresholdHighWC
,XUhigh disk watermark [{}] exceeded on {}, shards will be relocated away from this nodeZgetFreeBytesThresholdLow\C
,]Rlow disk watermark [{}] exceeded on {}, replicas will not be assigned to this node_infoaTRbgetFreeDiskAsPercentage()Dde
=fgetFreeDiskThresholdFloodStage()Ljava/lang/Double;hi
,jjava/lang/DoubleldoubleValuene
mo@Y%s"com/groupbyinc/flux/common/Stringsuformat1Decimals'(DLjava/lang/String;)Ljava/lang/String;wx
vygetFreeDiskThresholdHigh{i
,|getFreeDiskThresholdLow~i
,usage'Lcom/groupbyinc/flux/cluster/DiskUsage;	onNewInfo,(Lcom/groupbyinc/flux/cluster/ClusterInfo;)V'com/groupbyinc/flux/cluster/ClusterInfo?getNodeLeastAvailableDiskUsages7()Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;??
???3com/groupbyinc/flux/common/collect/ImmutableOpenMap?keysF()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer;??
??
java/util/Set?iterator()Ljava/util/Iterator;????java/lang/String?Bcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????contains(Ljava/lang/Object;)Z????remove????java/util/function/Supplier?get????(com/groupbyinc/flux/cluster/ClusterState?java/util/HashSet?()V?
??
??Gcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor?keyLjava/lang/Object;??	??value??	??:;
?getRoutingNodes4()Lcom/groupbyinc/flux/cluster/routing/RoutingNodes;??
??0com/groupbyinc/flux/cluster/routing/RoutingNodes?nodeE(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/RoutingNode;??
??/com/groupbyinc/flux/cluster/routing/RoutingNode?
??0com/groupbyinc/flux/cluster/routing/ShardRouting?index#()Lcom/groupbyinc/flux/index/Index;??
??com/groupbyinc/flux/index/Index?getName()Ljava/lang/String;??
??add????java/lang/System?nanoTime??
??	?getRerouteInterval-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
,?)com/groupbyinc/flux/common/unit/TimeValue?nanos??
??1high disk watermark exceeded on one or more nodes?khigh disk watermark exceeded on {} but an automatic reroute has occurred in the last [{}], skipping reroute?debug?TR???:one or more nodes has gone under the high or low watermark?l{} has gone below a disk threshold, but an automatic reroute has occurred in the last [{}], skipping reroute?rerouting shards: [{}]?'(Ljava/lang/String;Ljava/lang/Object;)VaRreroute?
"java/lang/invoke/LambdaMetafactorymetafactory?(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;	

?lambda$onNewInfo$0?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)Z
(Ljava/lang/String;)ZtestJ(Lcom/groupbyinc/flux/cluster/ClusterState;)Ljava/util/function/Predicate;removeIf!(Ljava/util/function/Predicate;)Z?isEmpty??markIndicesReadOnly(Ljava/util/Set;)V !
"Ljava/lang/String;routing2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;routingNode1Lcom/groupbyinc/flux/cluster/routing/RoutingNode;entry?Lcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;ILcom/groupbyinc/flux/common/carrotsearch/hppc/cursors/ObjectObjectCursor;ZexplanationnodesXLcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer;DLcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectLookupContainer;state*Lcom/groupbyinc/flux/cluster/ClusterState;indicesToMarkReadOnly)Lcom/groupbyinc/flux/cluster/ClusterInfo;usagespLcom/groupbyinc/flux/common/collect/ImmutableOpenMap;5Lcom/groupbyinc/flux/common/collect/ImmutableOpenMap;!com/groupbyinc/flux/client/Client8admin*()Lcom/groupbyinc/flux/client/AdminClient;:;9<&com/groupbyinc/flux/client/AdminClient>indices1()Lcom/groupbyinc/flux/client/IndicesAdminClient;@A?BEMPTY_ARRAY[Ljava/lang/String;DE	vFtoArray(([Ljava/lang/Object;)[Ljava/lang/Object;HI?JE-com/groupbyinc/flux/client/IndicesAdminClientMprepareUpdateSettingsi([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsRequestBuilder;OPNQbuilder8()Lcom/groupbyinc/flux/common/settings/Settings$Builder;ST
	U#index.blocks.read_only_allow_deleteWputK(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/settings/Settings$Builder;YZ
[build0()Lcom/groupbyinc/flux/common/settings/Settings;]^
_Rcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsRequestBuilderasetSettings?(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/indices/settings/put/UpdateSettingsRequestBuilder;cd
beexecute+()Lcom/groupbyinc/flux/action/ActionFuture;gh
bicluster1()Lcom/groupbyinc/flux/client/ClusterAdminClient;kl?m-com/groupbyinc/flux/client/ClusterAdminClientoprepareRerouteQ()Lcom/groupbyinc/flux/action/admin/cluster/reroute/ClusterRerouteRequestBuilder;qrpsMcom/groupbyinc/flux/action/admin/cluster/reroute/ClusterRerouteRequestBuilderu
vi	getBlocks3()Lcom/groupbyinc/flux/cluster/block/ClusterBlocks;xy
?z3com/groupbyinc/flux/cluster/block/ClusterBlockLevel|WRITE5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;~	}?/com/groupbyinc/flux/cluster/block/ClusterBlocks?indexBlockedJ(Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel;Ljava/lang/String;)Z??
??	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/function/Supplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/client/Client;)V
StackMapTable&(Ljava/util/Set;)VBootstrapMethods
SourceFileInnerClasses!????%*+? *?&?(*,?**?,Y+-?/?1*?3??4%45%67%%89%?%?93:;<$=??:;??+?A*?1?E?J??*?NP*?1?E+?V?P+?A*?1?Y?J??*?N[*?1?Y+?V?(+?A*?1?^?J??*?N`*?1?^+?c+?g*?1?k?p??%*?NPq*?1?k?pgt?z+?V?h+?g*?1?}?p??%*?N[q*?1?}?pgt?z+?V?4+?g*?1???p??"*?N`q*?1???pgt?z+?c??45???fDEF E(G:HDIHHPJbKlLpKuP?Q?R?Q?S?T?U?T?V?W?X	WZ?('$330???I8+??M,?1>?:,??:*?(??:???*????:???*?(??W???*?*????:??Y??:,??:????????:		????:
	???=:*???A*?1?E?J???g*?1?k?p??G??
??:?3??:

???"
????:?ض޹?W??ڧ??A*?1?Y?J???g*?1?}?p??L??*??e*?1???*???>?:?*?N?
*?1???*?(
??W???A*?1?^?J???g*?1???p??*?(
??W?W*?(
???I??*??e*?1???*???>?:*?(
??W?*?N?
*?1?????n?*?N??*???W??	*?#???6?$?%&?5'(?r?$
?h???|)+	,,(-$".0_?12h?38458a4357?*?|)*	"./h?3356??4^_	`aef6gBhNjQk_lhm?n?o?p?q?r?s?t?u?vwyz.{D|K}M~T?`?c?h?w????????????????????????????'?1?7??c? ?????-??????U??=????(%%%?????? !??4*?3?=?C+?G?K?L?R?VX?\?`?f?jW??44543?43???3?????F*?3?=?n?t?wW??45?
??
?@*?{??+????12?$???
??	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy