-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Deprecate single-tier allocation filtering settings #76516
Conversation
Pinging @elastic/es-core-features (Team:Core/Features) |
@elasticmachine run elasticsearch-ci/part-2 |
@elasticmachine run elasticsearch-ci/packaging-tests-unix-sample |
Related to #73074 |
...gin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/NodeDeprecationChecks.java
Outdated
Show resolved
Hide resolved
...gin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/NodeDeprecationChecks.java
Outdated
Show resolved
Hide resolved
...in/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecks.java
Show resolved
Hide resolved
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", |
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.
Same docs question as earlier for these as well.
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. |
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 once the documentation links are fixed in IndexDeprecationChecks
.
Thanks @masseyke!
@elasticmachine update branch |
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