-
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 Ingest APIs and Script APIs #2682
Add request parameter 'cluster_manager_timeout' and deprecate 'master_timeout' - in Ingest APIs and Script APIs #2682
Conversation
Signed-off-by: Tianli Feng <[email protected]>
89444cb
to
b5563d3
Compare
✅ Gradle Check success 89444cba51759853a3d1f83753799d832d952596 |
In log 3964:
The Client test failure will be resolved in #2702 |
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/main/java/org/opensearch/rest/BaseRestHandler.java
Signed-off-by: Tianli Feng <[email protected]>
…imeout parameter Signed-off-by: Tianli Feng <[email protected]>
In log 4063:
The Client test failure will be resolved in #2702 |
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]>
In log 4128:
It's not reproducible locally. re-run: start gradle check |
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
In log 4156:
Also seen in #2752 |
Signed-off-by: Tianli Feng <[email protected]>
In log 4161:
It's reported in issue #1703 |
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
"description":"Specify timeout for connection to master", | ||
"deprecated":{ | ||
"version":"2.0.0", | ||
"description":"To promote inclusive language, use 'cluster_manager_timeout' instead." |
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.
It feels to me promote is the not the right work. may be to support inclusive language. or to be more inclusive, use ..
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.
Thanks for your opinion! I will change the word promote
to support
.
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.
Changed in commit 7d0de09
…est-script-api Signed-off-by: Tianli Feng <[email protected]>
…uage' Signed-off-by: Tianli Feng <[email protected]>
545f1f1
to
7d0de09
Compare
✅ Gradle Check success 545f1f1e921b11030a7f5dd0671ab9fa183ec0d1 |
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
…est-script-api Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # server/src/test/java/org/opensearch/action/RenamedTimeoutRequestParameterTests.java
…_timeout' - in Ingest APIs and Script APIs (#2682) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script 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 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script 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 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) (#2890) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script 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 08e4a35)
…_timeout' - in Ingest APIs and Script APIs (#2682) (#2891) - Deprecate the request parameter `master_timeout` that used in Ingest APIs and Script 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 08e4a35)
Description
master_timeout
that used in Ingest APIs and Script APIs which have got the parameter.cluster_manager_timeout
.List of the
Ingest
APIs andScript
APIs that have got request parametermaster_timeout
:Put pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/create-update-ingest/
Get pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/get-ingest/
Delete pipeline API https://opensearch.org/docs/latest/opensearch/rest-api/ingest-apis/delete-ingest/
Get stored script API
GET _scripts/<script-id>
Put stored script API
Delete stored script API
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.