-
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
Auto-expand indices according to allocation filtering rules #48974
Conversation
Pinging @elastic/es-distributed (:Distributed/Allocation) |
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
final String node_1 = nodesIds.get(1); | ||
assertThat(cluster().size(), equalTo(2)); | ||
|
||
logger.info("--> creating an index with no replicas"); |
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.
nit: not no replicas
One comment, however, is that I don't think this API generalises to one that would address #2869. |
That was a non-goal here. I don't think that there's a general solution for #2869, so would like to focus on the use cases that we can solve. Note that I've pushed 972af8b to revise the comment in the docs about auto-expand replicas and shard allocation rules. |
Co-Authored-By: David Turner <david.turner@elastic.co>
Honours allocation filtering rules when auto-expanding indices.
…graded (elastic#50361) Follow-up to elastic#48974 that ensures that replicas are only auto-expanded according to allocation filtering rules once all nodes are upgraded to a version that supports this. Helps with orchestrating cluster upgrades.
Honours allocation filtering rules when auto-expanding indices.