-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] Fix shrink index API prereqs #59985
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
[DOCS] Fix shrink index API prereqs #59985
Conversation
Adds a recommendation for removing replica shards to the prereqs of the shrink index API docs. Also clarifies some of the existing prereqs.
|
Pinging @elastic/es-core-features (:Core/Features/Indices APIs) |
|
Pinging @elastic/es-docs (>docs) |
danhermann
left a comment
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.
Left a comment about shard allocation that should be verified. Other than that, LGTM.
| * The index must be read-only. | ||
| * A copy of every shard in the index must reside on the same node. | ||
| * The <<cluster-health, cluster health>> status must be green. | ||
| * All primary and replica shards for the index must reside on the same node. |
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 believe that only the primary shards must reside on the same node. ES won't allocate a replica shard to a node containing its primary since that would serve no purpose.
Adds a recommendation for removing replica shards to the prereqs of the shrink index API docs.
Also clarifies some of the existing prereqs.
Closes #59945