Skip to content
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

GEODE-4586: remove getAnyInstance calls from RegionVersionVector #1402

Merged

Conversation

dschneider-pivotal
Copy link
Contributor

The MembershipListener interface methods are now passed a DistributionManager.

This allowed memberDeparted in RegionVersionVector to no longer use getAnyInstance
to get the DistributionManager.

Also one of the getAnyInstance calls was not needed because it had to do with debug logging.

…Manager.

This allowed memberDeparted in RegionVersionVector to no longer use getAnyInstance
to get the DistributionManager.

/**
* This is notification that more than 50% of member weight has been lost in a single view change.
* Notification is performed before the view has been installed.
*
* @param distributionManager TODO
Copy link

Choose a reason for hiding this comment

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

should complete this TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks, it is now done

Copy link

@nreich nreich left a comment

Choose a reason for hiding this comment

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

Looks good to me

@dschneider-pivotal dschneider-pivotal merged commit fc3e144 into apache:develop Feb 9, 2018
@dschneider-pivotal dschneider-pivotal deleted the feature/GEODE-4586 branch February 9, 2018 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants