I've made a snapshot for a single node cluster using default settings:
PUT /_snapshot/backup/%3Csnapshot-%7Bnow%2Fd%7D%3E
Created a new single node cluster, and tried to restore it:
POST /_snapshot/backup/snapshot-2021.09.23/_restore
, but I get error:
"type" : "snapshot_restore_exception",
"reason" : "[backup:snapshot-2021.09.23/esJtA1MeRcenJbz3tkIL2A] cannot restore index [.geoip_databases] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a rename pattern and replacement name"
The new cluster is empty, so I guess that .geoip_databases index is auto built on startup.
Shouldn't this type of feature just work on a new empty cluster?
It's not user friendly to make users manually selecting indexes from snapshot to restore...
You cannot delete this index, its a system index. So it is stupid that the snapshot stores this index, where you are not able to restore it. Does not make any sense and breaks the whole mechanism, don't get it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.