Skip to content

Commit

Permalink
[DOC] Don't include searchable snapshot ILM action in both hot and co…
Browse files Browse the repository at this point in the history
…ld phases (#82013) (#82218)

As outlined in #81604, including the `searchable_snapshot` action in both the hot and cold phases can result in indices not automatically migrating to the cold tier during the cold phase.

This adds a related warning.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
(cherry picked from commit 9fd280b)

Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
  • Loading branch information
jrodewig and stefnestor authored Jan 4, 2022
1 parent cceb466 commit 2be2eaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ the frozen phase, the action mounts a <<partially-mounted,partially mounted
index>> prefixed with `partial-` to the frozen tier. In other phases, the action mounts a
<<fully-mounted,fully mounted index>> prefixed with `restored-` to the corresponding data tier.

WARNING: Don't include the `searchable_snapshot` action in both the hot and cold
phases. This can result in indices failing to automatically migrate to the cold
tier during the cold phase.

If the `searchable_snapshot` action is used in the hot phase the subsequent
phases cannot include the `shrink` or `forcemerge` actions.

Expand Down

0 comments on commit 2be2eaa

Please sign in to comment.