Skip to content

Deprecate single-tier allocation filtering settings#72835

Merged
dakrone merged 3 commits intoelastic:masterfrom
dakrone:deprecation-single-tier
May 11, 2021
Merged

Deprecate single-tier allocation filtering settings#72835
dakrone merged 3 commits intoelastic:masterfrom
dakrone:deprecation-single-tier

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented May 6, 2021

(index|cluster).routing.allocation.(include|exclude|require)._tier settings are now deprecated in
favor of using index.routing.allocation.include._tier_preference.

`(index|cluster).routing.allocation.(include|exclude|require)._tier` settings are now deprecated in
favor of using `index.routing.allocation.include._tier_preference`.
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@dakrone
Copy link
Copy Markdown
Member Author

dakrone commented May 6, 2021

I will follow this up with a PR to remove these settings on master once this is in.

Copy link
Copy Markdown
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

About the 8.0 part, I think we need to keep the settings but ignore them in 8.0 and then remove in 9. Will send you a message through another channel on this.

@dakrone dakrone merged commit 539a614 into elastic:master May 11, 2021
dakrone added a commit to dakrone/elasticsearch that referenced this pull request May 11, 2021
* Deprecate single-tier allocation filtering settings

`(index|cluster).routing.allocation.(include|exclude|require)._tier` settings are now deprecated in
favor of using `index.routing.allocation.include._tier_preference`.

* Update deprecation message
dakrone added a commit to dakrone/elasticsearch that referenced this pull request May 11, 2021
* Deprecate single-tier allocation filtering settings

`(index|cluster).routing.allocation.(include|exclude|require)._tier` settings are now deprecated in
favor of using `index.routing.allocation.include._tier_preference`.

* Update deprecation message
dakrone added a commit that referenced this pull request May 11, 2021
…72943)

* Deprecate single-tier allocation filtering settings

`(index|cluster).routing.allocation.(include|exclude|require)._tier` settings are now deprecated in
favor of using `index.routing.allocation.include._tier_preference`.

* Update deprecation message
dakrone added a commit that referenced this pull request May 11, 2021
…72942)

* Deprecate single-tier allocation filtering settings

`(index|cluster).routing.allocation.(include|exclude|require)._tier` settings are now deprecated in
favor of using `index.routing.allocation.include._tier_preference`.

* Update deprecation message
dakrone added a commit to dakrone/elasticsearch that referenced this pull request May 13, 2021
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.
dakrone added a commit that referenced this pull request May 24, 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.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants