Skip to content

Conversation

@tlfeng
Copy link
Contributor

@tlfeng tlfeng commented Jun 24, 2022

Description

Backport PR #3686 to 2.x branch.

  • Revert renaming method onMaster() and offMaster() in interface LocalNodeMasterListener

onMaster() and offMaster() were renamed directly to make the method name inclusive. However they are exposed to the public, then the classes that implement the interface need to implement the method in new name, so it breaks backwards compatibility.
The original file: https://github.com/opensearch-project/OpenSearch/blob/2.0.1/server/src/main/java/org/opensearch/cluster/LocalNodeMasterListener.java

Issues Resolved

#3688

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

@tlfeng tlfeng added bug Something isn't working backport PRs or issues specific to backporting features or enhancments backwards-compatibility v2.2.0 labels Jun 24, 2022
@tlfeng tlfeng requested review from a team and reta as code owners June 24, 2022 18:03
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 6245758
Log 6306

Reports 6306

@tlfeng
Copy link
Contributor Author

tlfeng commented Jun 24, 2022

@VachaShah Thanks for your review! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport PRs or issues specific to backporting features or enhancments backwards-compatibility bug Something isn't working v2.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants