Class MetaDataIndexUpgradeService

java.lang.Object
org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService

public class MetaDataIndexUpgradeService
extends java.lang.Object
This service is responsible for upgrading legacy index metadata to the current version

Every time an existing index is introduced into cluster this service should be used to upgrade the existing index metadata to the latest version of the cluster. It typically occurs during cluster upgrade, when dangling indices are imported into the cluster or indices are restored from a repository.