Remove the deprecated local parameter for _cat/indices#64868
Merged
danhermann merged 6 commits intoelastic:masterfrom Nov 16, 2020
Merged
Remove the deprecated local parameter for _cat/indices#64868danhermann merged 6 commits intoelastic:masterfrom
danhermann merged 6 commits intoelastic:masterfrom
Conversation
Collaborator
|
Pinging @elastic/es-core-features (:Core/Features/CAT APIs) |
dakrone
reviewed
Nov 10, 2020
Comment on lines
+101
to
+102
| if (request.hasParam("local") && Version.CURRENT.major == Version.V_7_0_0.major + 1) { | ||
| throw new IllegalArgumentException("parameter [local] is not supported"); |
Member
There was a problem hiding this comment.
This is unnecessary, as mentioned in #64867 (comment)
Contributor
Author
|
@elasticmachine update branch |
Contributor
Author
|
@elasticmachine update branch |
Contributor
Author
|
@elasticmachine test this please |
Contributor
Author
|
@elasticmachine update branch |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The cat indices API performs several actions including an
IndicesStatsAction. Today it accepts the?localparameter and passes it to the actions that support it but this parameter has no effect on theIndicesStatsAction. This can be surprising becauseGET _cat/indices?locallooks like it might be a completely local call but in fact it still depends on every node in the cluster.The
localparameter was deprecated in 7.x (#62198) and this commit removes it for 8.x.