Skip to content
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 6 commits into from
May 24, 2021

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented May 13, 2021

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.

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
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@dakrone
Copy link
Member Author

dakrone commented May 18, 2021

@elasticmachine run elasticsearch-ci/part-1

I opened #73208 for the failure

Copy link
Contributor

@andreidan andreidan left a 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

@dakrone
Copy link
Member Author

dakrone commented May 24, 2021

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented May 24, 2021

@elasticmachine run elasticsearch-ci/part-1

@dakrone dakrone merged commit 95bccda into elastic:master May 24, 2021
@dakrone dakrone deleted the remove-tier-allocation branch May 24, 2021 20:38
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
>breaking Team:Data Management Meta label for data/management team v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants