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

Deprecate single-tier allocation filtering settings #76516

Conversation

masseyke
Copy link
Member

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

@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Aug 13, 2021
@elasticmachine
Copy link
Collaborator

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

@masseyke masseyke linked an issue Aug 13, 2021 that may be closed by this pull request
80 tasks
@masseyke
Copy link
Member Author

@elasticmachine run elasticsearch-ci/part-2

@masseyke
Copy link
Member Author

@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample

@masseyke masseyke requested a review from jbaiera August 20, 2021 18:03
@jbaiera
Copy link
Member

jbaiera commented Aug 26, 2021

Related to #73074

static DeprecationIssue checkIndexRoutingRequireSetting(IndexMetadata indexMetadata) {
return checkRemovedSetting(indexMetadata.getSettings(),
INDEX_ROUTING_REQUIRE_SETTING,
"https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0.html#breaking_80_allocation_changes",
Copy link
Member

Choose a reason for hiding this comment

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

Same docs question as earlier for these as well.

@jbaiera
Copy link
Member

jbaiera commented Aug 26, 2021

Not sure what the best course of action here would be in regards to pointing out the new property that should be used. We could point it out as the path forward in the deprecation message, or we could state it in the docs, either would be fine. Docs might be easier since all these will be pointing to that one place.

@jbaiera jbaiera self-requested a review August 31, 2021 19:38
Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

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

LGTM once the documentation links are fixed in IndexDeprecationChecks.

Thanks @masseyke!

@masseyke
Copy link
Member Author

masseyke commented Sep 1, 2021

@elasticmachine update branch

@masseyke masseyke merged commit 22b68e6 into elastic:7.x Sep 2, 2021
@masseyke masseyke deleted the feature/tier-allocation-filtering-deprecation-check branch November 2, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>non-issue Team:Data Management Meta label for data/management team v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Deprecation Info API checks for 8.0
6 participants