Why cannot restore index from snapshot if an open index with same name exists in the cluster?
In Elasticsearch Source Code server/src/main/java/org/elasticsearch/snapshots/RestoreService.java
method validateExistingIndex
, there is a TODO
that // TODO: Enable restore for open indices
.
If I want to create snapshot incrementally from a cluster, and only restore index in another cluster, can I change the index exist checking?