Skip to content

Commit

Permalink
Clarify docs on deleting searchable snapshots (#108451)
Browse files Browse the repository at this point in the history
The word `cannot` implies Elasticsearch prevents you from doing these
things, but it doesn't have this protection today (see #73947). This
commit clarifies this by saying `must not` instead.

Closes #108450
  • Loading branch information
DaveCTurner committed May 9, 2024
1 parent 1a55e2f commit 91bed34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/searchable-snapshots/index.asciidoc
Expand Up @@ -310,9 +310,9 @@ of {search-snap} indices.
The sole copy of the data in a {search-snap} index is the underlying snapshot,
stored in the repository. For example:

* You cannot unregister a repository while any of the searchable snapshots it
contains are mounted in {es}. You also cannot delete a snapshot if any of its
indices are mounted as a searchable snapshot in the same cluster.
* You must not unregister a repository while any of the searchable snapshots it
contains are mounted in {es}. You also must not delete a snapshot if any of its
indices are mounted as searchable snapshots.

* If you mount indices from snapshots held in a repository to which a different
cluster has write access then you must make sure that the other cluster does not
Expand Down

0 comments on commit 91bed34

Please sign in to comment.