Class DiskThresholdMonitor

java.lang.Object
org.opensearch.cluster.routing.allocation.DiskThresholdMonitor

public class DiskThresholdMonitor extends Object
Listens for a node to go over the high watermark and kicks off an empty reroute if it does. Also responsible for logging about nodes that have passed the disk watermarks
Opensearch.internal:
  • Constructor Details

  • Method Details

    • onNewInfo

      public void onNewInfo(ClusterInfo info)
    • setIndexCreateBlock

      protected void setIndexCreateBlock(org.opensearch.core.action.ActionListener<Void> listener, boolean indexCreateBlock)
    • updateIndicesReadOnly

      protected void updateIndicesReadOnly(Set<String> indicesToUpdate, org.opensearch.core.action.ActionListener<Void> listener, boolean readOnly)