-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document CCR auto-follow patterns and searchable snapshots indices #70863
Conversation
Pinging @elastic/es-distributed (Team:Distributed) |
Pinging @elastic/es-docs (Team:Docs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment.
@@ -7,6 +7,12 @@ 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 creates follower indices only for opened, fully | |||
assigned indices that match the specified pattern in the remote cluster. The | |||
patterns should not match special indices like <<frozen-indices,frozen indices>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure of frozen and read-only though, I suppose we would fail on them (in which case the wording is fine for those).
Yes, auto-follow pattern picks up such indices but the follower indices quickly become red as they cannot be initialized (frozen) or cannot read remote index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that my first try could be more exact. James helped me to find the right wording and I pushed 4811d5c. I removed the mention of frozen indices as they might be removed in the future and they are included in indices that blocks writes anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a question about what fully assigned
meant. Otherwise LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @tlrx.
…lastic#70863) This commit adds a note in CCR document about auto-follow patterns that should not match searchable snapshots indices. Relates elastic#70580 (comment)
…lastic#70863) This commit adds a note in CCR document about auto-follow patterns that should not match searchable snapshots indices. Relates elastic#70580 (comment)
Thanks James and Henning! |
This pull request adds a note in CCR document about auto-follow patterns that should not match searchable snapshots indices.
Relates #70580 (comment)