Fail with error when restoring global state from a snapshot that does not have one #82019
Labels
>bug
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Currently elasticsearch allow to restore a global state from a snapshot that does not have one.
This silently succeed without changing anything. Once #81247 is fixed this could result in nullifying entire cluster state.
Elasticsearch version (
bin/elasticsearch --version
): 8.x and likely earlierDescription of the problem including expected versus actual behavior:
Steps to reproduce:
"include_global_state": false
"include_global_state": true
Elasticsearch should return an error in such case, but currently silently succeed without changing the global state.
The text was updated successfully, but these errors were encountered: