[Docs] Indicate that CCR does not auto-follow existing indices, only newly created ones (#89498)

This commit is contained in:
Tanguy Leroux 2022-09-06 18:13:19 +02:00 committed by GitHub
parent e6754bf812
commit 33ff7b2cb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View file

@ -58,7 +58,10 @@ This API creates a new named collection of
<<ccr-auto-follow,auto-follow patterns>> against the remote cluster <<ccr-auto-follow,auto-follow patterns>> against the remote cluster
specified in the request body. Newly created indices on the remote cluster specified in the request body. Newly created indices on the remote cluster
matching any of the specified patterns will be automatically configured as follower matching any of the specified patterns will be automatically configured as follower
indices. Additionally, this API can be used to update existing indices. Indices on the remote cluster that were created before the auto-follow
pattern is created won't be auto-followed even if they match the pattern.
This API can also be used to update existing
<<ccr-auto-follow,auto-follow patterns>>. Note that follower indices that were configured automatically <<ccr-auto-follow,auto-follow patterns>>. Note that follower indices that were configured automatically
before updating an auto-follow pattern will remain unchanged even if they don't match against before updating an auto-follow pattern will remain unchanged even if they don't match against
the new patterns. the new patterns.

View file

@ -247,7 +247,9 @@ POST /server-metrics-follower/_ccr/unfollow
You use <<ccr-auto-follow,auto-follow patterns>> to automatically create new You use <<ccr-auto-follow,auto-follow patterns>> to automatically create new
followers for rolling time series indices. Whenever the name of a new index on followers for rolling time series indices. Whenever the name of a new index on
the remote cluster matches the auto-follow pattern, a corresponding follower the remote cluster matches the auto-follow pattern, a corresponding follower
index is added to the local cluster. index is added to the local cluster. Note that only indices created on the
remote cluster after the auto-follow pattern is created will be auto-followed:
existing indices on the remote cluster are ignored even if they match the pattern.
An auto-follow pattern specifies the remote cluster you want to replicate from, An auto-follow pattern specifies the remote cluster you want to replicate from,
and one or more index patterns that specify the rolling time series indices you and one or more index patterns that specify the rolling time series indices you