We are seeing multiple cases where an index was deleted > 1 month ago but after a node restart the shards of this index becomes unassigned due to DANGLING_INDEX_IMPORTED.
Actually, the corresponding index
uuuid folder isn't getting deleted from a node's data directory.
I have the following questions:
- How can I ensure that the index folder is deleted from each of the cluster nodes after an index has been deleted.
- Is there an ES recommended way for deleting indices?
- Can this happen because an index was not closed before deleting it?
- How can I prevent this from happening again?