Add request parameter 'cluster_manager_timeout' as the alternative for 'master_timeout', and deprecate 'master_timeout' - in CAT APIs#2557
Merged
tlfeng merged 14 commits intoopensearch-project:mainfrom Apr 1, 2022
Conversation
added 2 commits
March 21, 2022 23:20
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
added 2 commits
March 22, 2022 01:11
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
added 5 commits
March 28, 2022 10:43
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
…aks API Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Contributor
Author
|
In log 3836: It's reported in issue #1703 |
Signed-off-by: Tianli Feng <ftianli@amazon.com>
tlfeng
commented
Mar 29, 2022
| indices, | ||
| indicesOptions, | ||
| local, | ||
| clusterManagerNodeTimeout, |
Contributor
Author
There was a problem hiding this comment.
Note: the massive change around these lines is only caused by the indentation change, which is made by variable name changed from masterNodeTimeout to clusterManagerNodeTimeout.
11 tasks
added 2 commits
March 29, 2022 21:21
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
…r class to reduce duplication Signed-off-by: Tianli Feng <ftianli@amazon.com>
80d99fd to
f97d74b
Compare
Collaborator
|
✅ Gradle Check success 80d99fd6ace86da3c8182889ad6d4d11fbe1ab0a |
Signed-off-by: Tianli Feng <ftianli@amazon.com> # Conflicts: # server/src/main/java/org/opensearch/rest/BaseRestHandler.java # server/src/main/java/org/opensearch/rest/action/cat/RestNodesAction.java # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
4d0eb19 to
dc30f42
Compare
Collaborator
|
✅ Gradle Check success 4d0eb19a2184e87a8f8612dfe329c41229faca95 |
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Apr 1, 2022
…r 'master_timeout', and deprecate 'master_timeout' - in CAT APIs (#2557) Apply the change of CAT Nodes API in PR #2435 to other applicable CAT APIs. - Deprecate the request parameter `master_timeout` that used in many CAT APIs. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 78465b4)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Apr 1, 2022
…r 'master_timeout', and deprecate 'master_timeout' - in CAT APIs (#2557) Apply the change of CAT Nodes API in PR #2435 to other applicable CAT APIs. - Deprecate the request parameter `master_timeout` that used in many CAT APIs. - Add alternative new request parameter `cluster_manager_timeout`. - Add unit tests. Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit 78465b4)
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.
Description
Apply the change of CAT Nodes API in PR #2435 to other applicable CAT APIs.
master_timeoutthat used in many CAT APIs.cluster_manager_timeout.List of the
CATAPIs that have got request parametermaster_timeout:CAT Allocation API https://opensearch.org/docs/opensearch/rest-api/cat/cat-allocation/
CAT Indices API https://opensearch.org/docs/opensearch/rest-api/cat/cat-indices/
CAT Master API https://opensearch.org/docs/opensearch/rest-api/cat/cat-master/
CAT Master API https://opensearch.org/docs/opensearch/rest-api/cat/cat-nodeattrs/
CAT Nodes API https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodes/
CAT Nodeattrs API https://opensearch.org/docs/opensearch/rest-api/cat/cat-nodes/
CAT Pending tasks API https://opensearch.org/docs/opensearch/rest-api/cat/cat-pending-tasks/
CAT Plugins API https://opensearch.org/docs/opensearch/rest-api/cat/cat-plugins/
CAT Repositories API https://opensearch.org/docs/opensearch/rest-api/cat/cat-repositories/
CAT Shards API https://opensearch.org/docs/opensearch/rest-api/cat/cat-shards/
CAT Snapshots API https://opensearch.org/docs/opensearch/rest-api/cat/cat-snapshots/
CAT Tamplates API https://opensearch.org/docs/opensearch/rest-api/cat/cat-templates/
CAT Thread pool API https://opensearch.org/docs/opensearch/rest-api/cat/cat-thread-pool/
Issues Resolved
A part of #2511
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.