-
Notifications
You must be signed in to change notification settings - Fork 104
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
Deprecate the "Master" nomenclature #320
Comments
For 2.0, at a minimum please ensure that the plugin is not calling any deprecated APIs in core or another plugin, and confirm below, then remove the 2.0.0 label. If you have time, do the complete deprecation as described in this issue. |
@sbcd90 Can we consider this as done? or there is still pending effort? |
@anasalkouz Currently, |
Thats fine, we added 3.0 label tag to track remaining effort. Thanks |
@sbcd90 what is the remaining effort here? could we target 2.3? |
hi @anasalkouz , yes. we need to make few changes in code to incorporate the following changes.
It is a small change. However, the 2nd api is not available yet. i see a related issue for it: opensearch-project/OpenSearch#3663 Should we make these changes when the 2nd api is available? |
AcknowledgedResponse is an exception and we will have separate issue to track it across all plugins on 3.0. |
hi @anasalkouz , the PR #548 with necessary changes required are merged now. Closing this issue. |
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 (comment), 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:
private var isMaster
->isClusterManager
When being compatible with OpenSearch 3.0:
import org.opensearch.action.support.master.AcknowledgedResponse
->import org.opensearch.action.support.clustermanager.AcknowledgedResponse
(new API not available yet)Describe alternatives you've considered
None.
Additional context
The text was updated successfully, but these errors were encountered: