Skip to content

Commit

Permalink
Document CCR auto-follow patterns and searchable snapshots indices (#…
Browse files Browse the repository at this point in the history
…70863)

This commit adds a note in CCR document about auto-follow 
patterns that should not match searchable snapshots indices.

Relates #70580 (comment)
  • Loading branch information
tlrx authored Apr 6, 2021
1 parent afaf26f commit e26e144
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/reference/ccr/auto-follow.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<open-index-api-desc,closed indices>> or
<<searchable-snapshots,{search-snaps}>>. Avoid using an auto-follow pattern
that matches indices with a <<index-block-settings, read or write block>>. 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
Expand Down

0 comments on commit e26e144

Please sign in to comment.