-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Snapshot APIs #2680
Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Snapshot APIs #2680
Conversation
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
138eafd
to
6142b93
Compare
❌ Gradle Check failure 138eafddb434351306909d14b6539fe185ce8f1f |
2e293ca
to
6142b93
Compare
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/main/java/org/opensearch/rest/BaseRestHandler.java
7e6e9dd
to
2a289e4
Compare
…rameter Signed-off-by: Tianli Feng <[email protected]>
✅ Gradle Check success 2e293caaed8ed8c230fc1d4786b90a1f4456e85b |
Signed-off-by: Tianli Feng <[email protected]>
In log 4023:
|
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
In log 4061:
It's reported in issue #1703 |
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
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.
Nice! LGTM
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
In log 4209:
It's reproducible in |
start gradle check |
# Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
Signed-off-by: Tianli Feng <[email protected]>
…_timeout' - in Snapshot APIs (#2680) * Deprecate the request parameter `master_timeout` that used in Snapshot APIs which have got the parameter. * Add alternative new request parameter `cluster_manager_timeout`. * Add unit tests. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit a89b7e6)
…_timeout' - in Snapshot APIs (#2680) * Deprecate the request parameter `master_timeout` that used in Snapshot APIs which have got the parameter. * Add alternative new request parameter `cluster_manager_timeout`. * Add unit tests. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit a89b7e6)
…_timeout' - in Snapshot APIs (#2680) (#2870) * Deprecate the request parameter `master_timeout` that used in Snapshot APIs which have got the parameter. * Add alternative new request parameter `cluster_manager_timeout`. * Add unit tests. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit a89b7e6)
…_timeout' - in Snapshot APIs (#2680) (#2871) * Deprecate the request parameter `master_timeout` that used in Snapshot APIs which have got the parameter. * Add alternative new request parameter `cluster_manager_timeout`. * Add unit tests. Signed-off-by: Tianli Feng <[email protected]> (cherry picked from commit a89b7e6)
Description
master_timeout
that used in Snapshot APIs which have got the parameter.cluster_manager_timeout
.List of the
Snapshot
APIs that have got request parametermaster_timeout
:Put snapshot repository API
PUT /_snapshot/<repository>
,POST /_snapshot/<repository>
Get snapshot repository API
Delete snapshot repository API
Clean up snapshot repository API
POST /_snapshot/<repository>/_cleanup
Verify snapshot repository API
POST /_snapshot/<repository>/_verify
Create snapshot API
Get snapshot API
Delete snapshot API
Restore snapshot API
POST /_snapshot/<repository>/<snapshot>/_restore
Clone snapshot API
Get snapshot status API
GET _snapshot/<repository>/<snapshot>/_status
Issues Resolved
A part of issue #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.