From 49fb5058c659d16bf946a1e32705f9ce05f1517f Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Tue, 4 Jan 2022 12:49:45 -0500 Subject: [PATCH] [DOC] Don't include searchable snapshot ILM action in both hot and cold phases (#82013) (#82220) As outlined in elastic/elasticsearch#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 9fd280b67edb62fe242628ffa23ce0174d9a3d6a) Co-authored-by: Stef Nestor --- docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc b/docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc index 1ed5b2b3255b5..66add3cb0e881 100644 --- a/docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc +++ b/docs/reference/ilm/actions/ilm-searchable-snapshot.asciidoc @@ -17,6 +17,10 @@ the frozen phase, the action mounts a <> prefixed with `partial-` to the frozen tier. In other phases, the action mounts a <> 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`, `forcemerge`, or `freeze` actions.