-
Notifications
You must be signed in to change notification settings - Fork 125
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 #307
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. |
@dblock do we expect any more "deprecation" changes on core api for 2.0? For instance knn refers this package in import section, seems it's not deprecated yet. |
Yes, thanks for point this out. I'll reopen this issue, now that we know that k-nn is referring to something with |
@tlfeng Besides these packages, knn also depends on these 2 methods masterOperation and clusterService.state().nodes().isLocalNodeElectedMaster(). Does any of these methods will be deprecated for 2.0 in opensearch-core? |
@tlfeng Please confirm whether you expect any more deprecations in core after today? Is that a bug or a feature? :) |
Hi @naveentatikonda The package and method names you pointed out will be replaced in OpenSearch 3.0. I haven't started yet, and will the update. @martin-gaievski There will be no more depredations, although the normal way to change public method or class names is deprecate old usage and create new usage. But there are too many method or class names to be deprecated (210 items, as shown in issue opensearch-project/OpenSearch#1684). So it's decided to rename the public method or class names in place in version 3.0 . |
Java APIs completed and released on 2.2. |
@anasalkouz Thanks for the update. Will incorporate those changes for 2.3 |
@naveentatikonda anything remaining? can you close the issue? |
@anasalkouz Still these two packages needs to be updated. They are still not supported by opensearch core and is expected to be ready by 3.0 : org.opensearch.action.support.master.AcknowledgedRequest -> org.opensearch.action.support.clusterManager.AcknowledgedRequest org.opensearch.action.support.master.AcknowledgedResponse -> org.opensearch.action.support.clusterManager.AcknowledgedResponse Also, does the whitelist changes needs to be shipped with 2.3 release or pushed to 3.0 release ? |
@naveentatikonda k-NN repository have done with all changes required for 2.x release, and the remaining effort will be tracked in separate issue as part of 3.0. Thank you! The remaining effort means the following Java APIs
|
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 until further notice 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.
Describe the solution you'd like
Replace the terminology "master" with "cluster manager".
When being compatible with OpenSearch 2.0:
When being compatible with OpenSearch 3.0:
[ ]import org.opensearch.action.support.master.AcknowledgedResponse -> import org.opensearch.action.support.clustermanager.AcknowledgedResponse (will be available in version 3.0 and track in separate issue)Describe alternatives you've considered
None.
Additional context
The text was updated successfully, but these errors were encountered: