-
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
Replace non-inclusive terminology 'master' in code comments and internal variable/method/class names #2150
Conversation
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
Can one of the admins verify this patch? |
client/rest-high-level/src/main/java/org/opensearch/client/TimedRequest.java
Show resolved
Hide resolved
client/rest-high-level/src/main/java/org/opensearch/client/TimedRequest.java
Outdated
Show resolved
Hide resolved
In log 2483:
I will check the cause for this failure. |
@@ -47,7 +47,7 @@ | |||
public static final TimeValue DEFAULT_MASTER_NODE_TIMEOUT = TimeValue.timeValueSeconds(30); |
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.
You might also want to update this variable name.
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.
Thank you for the review!
I think I'm not going to rename this variable name. It's a Java API which may break the compatibility to other software that uses server
package: https://opensearch.org/javadocs/1.2.4/OpenSearch/server/build/docs/javadoc/org/opensearch/action/support/master/MasterNodeRequest.html#DEFAULT_MASTER_NODE_TIMEOUT
The current plan is to replace all those names in Java API directly in version 3.0.0 .
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.
Ah okay! Thank you :)
This is related to #2143. |
Thanks a lot for this pointer 👍😄 |
…rnal Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # test/framework/src/main/java/org/opensearch/test/InternalTestCluster.java
Signed-off-by: Tianli Feng <[email protected]>
Signed-off-by: Tianli Feng <[email protected]>
463eade
to
f20c029
Compare
f20c029
to
6ad42d9
Compare
❌ Gradle Check failure 463eade6817ee7d0c8953345607b439fdde148ac |
❌ Gradle Check failure f20c02998f38fdea96166c32c471be879316cb18 |
6ad42d9
to
5bd150a
Compare
❌ Gradle Check failure 6ad42d973e5910dfd5ce6c4df0ffa13c07e90d41 |
In log 3539:
|
Signed-off-by: Tianli Feng <[email protected]> # Conflicts: # buildSrc/src/main/groovy/org/opensearch/gradle/test/ClusterFormationTasks.groovy # client/rest/src/main/java/org/opensearch/client/Node.java # server/src/main/java/org/opensearch/action/admin/cluster/health/ClusterHealthResponse.java # server/src/main/java/org/opensearch/cluster/coordination/ClusterBootstrapService.java # server/src/main/java/org/opensearch/cluster/coordination/NoMasterBlockService.java # server/src/test/java/org/opensearch/cluster/coordination/NoMasterBlockServiceTests.java # server/src/test/java/org/opensearch/env/NodeRepurposeCommandTests.java # test/framework/src/main/java/org/opensearch/test/InternalTestCluster.java
5bd150a
to
0817155
Compare
❌ Gradle Check failure 5bd150aaa6669306b73c1e5117a2327fb679543d |
Signed-off-by: Tianli Feng <[email protected]>
In log 3549:
It's reported in issue #1703. |
Description
Replacement rules:
master
->cluster_manager
orclusterManager
(variable name) orcluster manager
(code comment)e.g.
master node
->cluster_manager node
Master
->ClusterManager
Issues Resolved
Resolve #1548
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.