Class SystemIndexMetadataUpgradeService

java.lang.Object
org.elasticsearch.cluster.metadata.SystemIndexMetadataUpgradeService
All Implemented Interfaces:
ClusterStateListener

public class SystemIndexMetadataUpgradeService extends Object implements ClusterStateListener
A service responsible for updating the metadata used by system indices.
  • Constructor Details

    • SystemIndexMetadataUpgradeService

      public SystemIndexMetadataUpgradeService(SystemIndices systemIndices, ClusterService clusterService)
  • Method Details

    • clusterChanged

      public void clusterChanged(ClusterChangedEvent event)
      Description copied from interface: ClusterStateListener
      Called when cluster state changes.

      Cluster states are applied one-by-one which means they can be a performance bottleneck. Implementations of this method should therefore be fast, so please consider forking work into the background rather than doing everything inline.

      Specified by:
      clusterChanged in interface ClusterStateListener