From e26e14441ee4ec63855bb30f98f816359ca3c1ec Mon Sep 17 00:00:00 2001 From: Tanguy Leroux Date: Tue, 6 Apr 2021 10:47:00 +0200 Subject: [PATCH] Document CCR auto-follow patterns and searchable snapshots indices (#70863) This commit adds a note in CCR document about auto-follow patterns that should not match searchable snapshots indices. Relates #70580 (comment) --- docs/reference/ccr/auto-follow.asciidoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/reference/ccr/auto-follow.asciidoc b/docs/reference/ccr/auto-follow.asciidoc index 1fa514cb9d3e3..1fa7b6a647904 100644 --- a/docs/reference/ccr/auto-follow.asciidoc +++ b/docs/reference/ccr/auto-follow.asciidoc @@ -7,6 +7,13 @@ each new index in the series is replicated automatically. Whenever the name of a new index on the remote cluster matches the auto-follow pattern, a corresponding follower index is added to the local cluster. +NOTE: Auto-follow patterns only match open indices on the remote cluster that +have all primary shards started. Auto-follow patterns do not match indices that +can't be used for {ccr-init} such as <> or +<>. Avoid using an auto-follow pattern +that matches indices with a <>. These +blocks prevent follower indices from replicating such indices. + You can also create auto-follow patterns for data streams. When a new backing index is generated on a remote cluster, that index and its data stream are automatically followed if the data stream name matches an auto-follow