-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Remove deprecated ._tier allocation filtering settings #73074
Merged
Merged
Conversation
This file contains 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
These settings were deprecated in 7.13+ in elastic#72835 and are now removed by this commit. This commit also ensures that the settings are removed from index metadata when the metadata is loaded. The reason for this is that if we allow the settings to remain (because they are not technically "invalid"), then the index will not be able to be allocated, because the `FilterAllocationDecider` will be looking for nodes with the `_tier` attribute.
elasticmachine
added
the
Team:Data Management
Meta label for data/management team
label
May 13, 2021
Pinging @elastic/es-core-features (Team:Core/Features) |
@elasticmachine run elasticsearch-ci/part-1 I opened #73208 for the failure |
andreidan
approved these changes
May 24, 2021
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 for working on this Lee
server/src/main/java/org/elasticsearch/cluster/metadata/IndexMetadataVerifier.java
Outdated
Show resolved
Hide resolved
…etadataVerifier.java Co-authored-by: Andrei Dan <[email protected]>
@elasticmachine update branch |
@elasticmachine run elasticsearch-ci/part-1 |
80 tasks
masseyke
added a commit
that referenced
this pull request
Sep 2, 2021
Adding deprecation info API checks for the following properties that were removed in 8.0: cluster.routing.allocation.require._tier cluster.routing.allocation.include._tie; cluster.routing.allocation.exclude._tier index.routing.allocation.require._tier index.routing.allocation.include._tier index.routing.allocation.exclude._tier Relates #73074
jrodewig
added a commit
that referenced
this pull request
Sep 16, 2021
We deprecated the following settings in 7.13 with PR #72835: - `cluster.routing.allocation.include._tier` - `cluster.routing.allocation.exclude._tier` - `cluster.routing.allocation.require._tier` - `index.routing.allocation.include._tier` - `index.routing.allocation.exclude._tier` - `index.routing.allocation.require._tier` However, we didn't add a related item to the 7.13 deprecation docs. This adds the missing item. Relates to #73074.
elasticsearchmachine
pushed a commit
that referenced
this pull request
Sep 16, 2021
We deprecated the following settings in 7.13 with PR #72835: - `cluster.routing.allocation.include._tier` - `cluster.routing.allocation.exclude._tier` - `cluster.routing.allocation.require._tier` - `index.routing.allocation.include._tier` - `index.routing.allocation.exclude._tier` - `index.routing.allocation.require._tier` However, we didn't add a related item to the 7.13 deprecation docs. This adds the missing item. Relates to #73074.
elasticsearchmachine
pushed a commit
that referenced
this pull request
Sep 16, 2021
We deprecated the following settings in 7.13 with PR #72835: - `cluster.routing.allocation.include._tier` - `cluster.routing.allocation.exclude._tier` - `cluster.routing.allocation.require._tier` - `index.routing.allocation.include._tier` - `index.routing.allocation.exclude._tier` - `index.routing.allocation.require._tier` However, we didn't add a related item to the 7.13 deprecation docs. This adds the missing item. Relates to #73074.
elasticsearchmachine
pushed a commit
that referenced
this pull request
Sep 16, 2021
We deprecated the following settings in 7.13 with PR #72835: - `cluster.routing.allocation.include._tier` - `cluster.routing.allocation.exclude._tier` - `cluster.routing.allocation.require._tier` - `index.routing.allocation.include._tier` - `index.routing.allocation.exclude._tier` - `index.routing.allocation.require._tier` However, we didn't add a related item to the 7.13 deprecation docs. This adds the missing item. Relates to #73074.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
These settings were deprecated in 7.13+ in #72835 and are now removed by this commit.
This commit also ensures that the settings are removed from index metadata when the metadata is
loaded. The reason for this is that if we allow the settings to remain (because they are not
technically "invalid"), then the index will not be able to be allocated, because the
FilterAllocationDecider
will be looking for nodes with the_tier
attribute.