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)
This commit is contained in:
Tanguy Leroux 2021-04-06 10:47:00 +02:00 committed by GitHub
parent afaf26fbd5
commit e26e14441e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 a new index on the remote cluster matches the auto-follow pattern, a
corresponding follower index is added to the local cluster. 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 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 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 automatically followed if the data stream name matches an auto-follow