Class IndexGraveyard

org.elasticsearch.cluster.metadata.IndexGraveyard
All Implemented Interfaces:
ClusterState.FeatureAware, Diffable<Metadata.Custom>, Metadata.Custom, NamedDiffable<Metadata.Custom>, NamedWriteable, VersionedNamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public final class IndexGraveyard extends implements Metadata.Custom
A collection of tombstones for explicitly marking indices as deleted in the cluster state. The cluster state contains a list of index tombstones for indices that have been deleted in the cluster. Because cluster states are processed asynchronously by nodes and a node could be removed from the cluster for a period of time, the tombstones remain in the cluster state for a fixed period of time, after which they are purged.
  • Field Details

    • SETTING_MAX_TOMBSTONES

      public static final > SETTING_MAX_TOMBSTONES
      Setting for the maximum tombstones allowed in the cluster state; prevents the cluster state size from exploding too large, but it opens the very unlikely risk that if there are greater than MAX_TOMBSTONES index deletions while a node was offline, when it comes back online, it will have missed index deletions that it may need to process.
    • TYPE

      public static final  TYPE
      See Also:
      Constant Field Values
  • Constructor Details

    • IndexGraveyard

      public IndexGraveyard(StreamInput in) throws
      Throws:
  • Method Details