Verify that the contents on disk for the given index is deleted; if not, delete the contents.
This method assumes that an index is already deleted in the cluster state and/or explicitly
through index tombstones.
Parameters:
index - Index to make sure its deleted from disk
clusterState - ClusterState to ensure the index is not part of it
Deletes an index that is not assigned to this node. This method cleans up all disk folders relating to the index
but does not deal with in-memory structures. For those call removeIndex(Index, IndexRemovalReason, String)
Removes the given index from this service and releases all associated resources. Persistent parts of the index
like the shards files, state and transaction logs are kept around in the case of a disaster recovery.
Parameters:
index - the index to remove
reason - the reason to remove the index
extraInfo - extra information that will be used for logging and reporting