Skip to content

Remove remaining master references #3361

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

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

ctubbsii
Copy link
Member

  • Relocate Thrift classes in master.thrift to manager.thrift that are still in use
  • Remove unused RecoveryException thrift class
  • Update references to LICENSE files in git repos to local bundled copies
  • Remove transition checks for slaves/masters files and services in our assembly scripts and configs
  • Update generated property docs to clarify that master.* were the former names and are not still currently available
  • Update SimpleLoadBalancer javadoc to remove reference to deleted file (residual from Remove deprecated TabletBalancer api #3117)
  • Stop updating ZK in SetGoalState, as that should have already been done when upgrading to 2.1, and close ServerContext with try-with-resources in that class
  • Remove unused RenameMasterDirInZK class (called by SetGoalState, but no more)
  • Update javadoc for KeywordExecutable to point to correct main branch in AutoService repo

This fixes #2487

* Relocate Thrift classes in master.thrift to manager.thrift that are
  still in use
* Remove unused RecoveryException thrift class
* Update references to LICENSE files in git repos to local bundled
  copies
* Remove transition checks for slaves/masters files and services in our
  assembly scripts and configs
* Update generated property docs to clarify that `master.*` were the
  former names and are not still currently available
* Update SimpleLoadBalancer javadoc to remove reference to deleted file
  (residual from apache#3117)
* Stop updating ZK in SetGoalState, as that should have already been
  done when upgrading to 2.1, and close ServerContext with
  try-with-resources in that class
* Remove unused RenameMasterDirInZK class (called by SetGoalState, but
  no more)
* Update javadoc for KeywordExecutable to point to correct main branch
  in AutoService repo

This fixes apache#2487
@ctubbsii ctubbsii requested a review from EdColeman April 28, 2023 08:17
@ctubbsii ctubbsii self-assigned this Apr 28, 2023
Copy link
Contributor

@EdColeman EdColeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - maybe add a comment on the try-with-resources that close is okay and expected in that context, but also okay if you feel it is unnecessary.

When I was looking at that code it gave me pause and a comment would have clarified that it was safe / expected without needing to understand why it was safe in that context.

@ctubbsii
Copy link
Member Author

When I was looking at that code it gave me pause and a comment would have clarified that it was safe / expected without needing to understand why it was safe in that context.

I suspect it gave you pause because you know extra things about how context is passed around widely in other threads inside our server classes. But that's clearly not the case here.

@ctubbsii ctubbsii merged commit 4da8401 into apache:main Apr 28, 2023
@ctubbsii ctubbsii deleted the remove-master-thrift branch April 28, 2023 14:39
@ctubbsii ctubbsii added this to the 3.0.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thrift generated classes need to be moved to manager package
3 participants