Auto-expand indices according to allocation filtering rules#48974
Merged
ywelsch merged 6 commits intoelastic:masterfrom Nov 15, 2019
Merged
Auto-expand indices according to allocation filtering rules#48974ywelsch merged 6 commits intoelastic:masterfrom
ywelsch merged 6 commits intoelastic:masterfrom
Conversation
Collaborator
|
Pinging @elastic/es-distributed (:Distributed/Allocation) |
DaveCTurner
approved these changes
Nov 15, 2019
| final String node_1 = nodesIds.get(1); | ||
| assertThat(cluster().size(), equalTo(2)); | ||
|
|
||
| logger.info("--> creating an index with no replicas"); |
Member
|
One comment, however, is that I don't think this API generalises to one that would address #2869. |
Contributor
Author
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. |
DaveCTurner
reviewed
Nov 15, 2019
Co-Authored-By: David Turner <david.turner@elastic.co>
ywelsch
added a commit
that referenced
this pull request
Nov 18, 2019
Honours allocation filtering rules when auto-expanding indices.
SivagurunathanV
pushed a commit
to SivagurunathanV/elasticsearch
that referenced
this pull request
Jan 23, 2020
…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.
This was referenced Feb 3, 2020
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Honours allocation filtering rules when auto-expanding indices.