-
Notifications
You must be signed in to change notification settings - Fork 139
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
Change the "Master" nomenclature #463
Comments
I am still seeing sql/plugin/src/main/java/org/opensearch/sql/plugin/rest/RestQuerySettingsAction.java Line 82 in 907019c
reopening |
I didn't see the new API for this. Do we have a doc for this? |
@dai-chen Thanks for taking care of the issue. I suggest to deprecate the request parameter How OpenSearch deal with the API request parameter
Technically it is fine to keep using the parameter I described all the deprecated non-inclusive REST API / Settings and the alternatives in issue opensearch-project/documentation-website#450. Note that the method |
@tlfeng Thanks for the very detailed info! Will refresh OpenSearch dependency and check the latest API. Thanks |
To clarify, there are 2 usages with "master" word in this line of code:
There is no impact for not making changes on the 2 "master" usages in OpenSearch 2.0, so I'm fine to close this issue. Here is an example to deprecate parameter |
As @tlfeng clarified above, closing this for now. Feel free to comment and reopen if concern. |
I think this shouldn't have been closed, we're just saying "stop using master_timeout in 2.1", I'll reopen. sql/plugin/src/main/java/org/opensearch/sql/plugin/rest/RestQuerySettingsAction.java Line 82 in 907019c
|
Sure. Once OpenSearch API change complete, this can be fixed in SQL accordingly. |
Is your feature request related to a problem? Please describe.
OpenSearch repository is going to replace the terminology "master"with "cluster manager".
issue: opensearch-project/OpenSearch#472, with the plan for its terminology replacement.
Although the existing usages with "master" will be supported in OpenSearch version 2.x to keep the backwards compatibility, please prepare for the nomenclature change in advance, and replace all the usages with "master" terminology in the code base.
All the OpenSearch REST APIs and settings that contain "master" terminology will be deprecated in 2.0, and alternative usages will be added.
Describe the solution you'd like
Replace the terminology "master" with "cluster manager".
When being compatible with OpenSearch 2.0:
deprecate parameter "master_timeout" and add new parameter "cluster_manager_timeout" in RestQuerySettingsAction (updated after the below comment)
When being compatible with OpenSearch 3.0:
clusterUpdateSettingsRequest.masterNodeTimeout
->clusterUpdateSettingsRequest.clusterManagerNodeTimeout
(new API is available in version 2.2)Describe alternatives you've considered
None.
Additional context
The text was updated successfully, but these errors were encountered: