-
Notifications
You must be signed in to change notification settings - Fork 123
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 in nodejs client #221
Comments
Affected API Multiple APIs are affected directly/indirectly (params & types)
Line 37 in 5328c31
Line 38 in 5328c31
Here is a complete list:
|
Affected Tests opensearch-js/test/utils/buildCluster.js Line 76 in c56751a
*Affect Mock opensearch-js/test/utils/MockConnection.js Line 107 in 5328c31
opensearch-js/test/utils/MockConnection.js Line 113 in 5328c31
Test list:
Others opensearch-js/test/integration/test-runner.js Line 161 in c56751a
opensearch-js/test/integration/test-runner.js Line 162 in c56751a
opensearch-js/lib/pool/ConnectionPool.js Line 191 in c56751a
opensearch-js/lib/pool/index.d.ts Line 112 in 705df17
opensearch-js/lib/Transport.js Line 613 in 2b1b387
*data |
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is replaced with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is replaced with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments fix lint issue Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments fix lint issue Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]> add some comments and toDos for master deprecation Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments fix lint issue Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]> add some comments and toDos for master deprecation Signed-off-by: Anan Zhuang <[email protected]> update TODO and use JSDoc Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments fix lint issue Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]> add some comments and toDos for master deprecation Signed-off-by: Anan Zhuang <[email protected]> update TODO and use JSDoc Signed-off-by: Anan Zhuang <[email protected]>
1.Deprecate setting cluster.initial_master_nodes and introduce the alternative setting cluster.initial_cluster_manager_nodes. 2.Use a new node role cluster_manager that has the same functionality with master in the node setting node.roles: [ master ] 3.Cat API _cat/master is deprecated with _cat/cluster_manager 4.Deprecate master_timeout parameter to cluster_manager_timeout 5.Deprecate several interfaces, for example CatMasterMasterRecord 6.Replaces tests and comments Issue Resolved: opensearch-project#221 Signed-off-by: Anan Zhuang <[email protected]> add some comments and toDos for master deprecation Signed-off-by: Anan Zhuang <[email protected]> update TODO and use JSDoc Signed-off-by: Anan Zhuang <[email protected]>
Is your feature request related to a problem? Please describe.
Coming from opensearch-project/OpenSearch#2589.
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:
Replace "master" in code comment and internal variable / function name
Replace OpenSearch REST API that contains "master" with the provided inclusive REST API
Replace "master" in documentation
Specifically, for the impacted OpenSearch REST API:
Replace the API request parameter "master_timeout" with "cluster_manager_timeout" in:
https://github.com/opensearch-project/OpenSearch-Dashboards/tree/1.3.1/src/plugins/console/server/lib/spec_definitions/json/generated and
https://github.com/opensearch-project/OpenSearch-Dashboards/tree/1.3.1/packages/osd-spec-to-console/test/fixtures
The text was updated successfully, but these errors were encountered: