Skip to content

init method to avoid leaking this reference in manager constructor #5732

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 7 commits into from
Jul 22, 2025

Conversation

ibilley7
Copy link
Contributor

@ibilley7 ibilley7 commented Jul 9, 2025

Created an init method that sets timeKeeper and tserverSet after manager has been fully constructed so that an incomplete this reference is not passed through those constructors. This init method should be called after every new Manager object has been created.

Closes #5673

ibilley7 added 2 commits July 9, 2025 15:24
Created an init method that sets timeKeeper and tserverSet after manager has been fully constructed so that an incomplete `this` referenced is not passed through those constructors. This init method should be called after every new Manager object has been created.

Closes apache#5673
@kevinrr888 kevinrr888 added this to the 4.0.0 milestone Jul 9, 2025
ibilley7 added 3 commits July 10, 2025 11:11
…r to changes to the BalanceManager so that the `this` keyword is passed through a set method rather than the constructor. Changed other calls to ManagerTime and LiveTServerSet to reflect those changes.
…cumulo-5673

# Conflicts:
#	server/manager/src/main/java/org/apache/accumulo/manager/Manager.java
ibilley7 added 2 commits July 11, 2025 13:31
…rtListeningForTabletServerChanges method. Changes code that called the setCback() method.
@keith-turner keith-turner merged commit 86318b1 into apache:main Jul 22, 2025
8 checks passed
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.

Avoid leaking this reference in manager constructor.
3 participants