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

Clean up quorum implementation #9552

Merged
merged 2 commits into from Jan 7, 2017
Merged

Conversation

metanet
Copy link
Contributor

@metanet metanet commented Dec 29, 2016

Please see commit messages for further details.

Fixes #8820

@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

1 similar comment
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

@metanet metanet force-pushed the fix/master/8820 branch 3 times, most recently from cd56f77 to 164ea8c Compare December 30, 2016 09:05
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

1 similar comment
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

@devOpsHazelcast
Copy link
Collaborator

@metanet
Copy link
Contributor Author

metanet commented Dec 30, 2016

run-lab-run

@devOpsHazelcast
Copy link
Collaborator

Otherwise, membership aware services are not be initialized yet and they will not capture the initial membership event.
@metanet
Copy link
Contributor Author

metanet commented Jan 3, 2017

run-lab-run

@devOpsHazelcast
Copy link
Collaborator

@devOpsHazelcast
Copy link
Collaborator

* Once initial membership event dispatching is fixed, initialized flag is not needed in QuorumImpl.
* Instead of a boolean flag, quorum state is managed with an enum value and it is initialized properly.
* If user-provided quorum function fails during membership update, quorum status is force-set to ABSENT and the failure is logged.
@devOpsHazelcast
Copy link
Collaborator

Test PASSed.

@pveentjer
Copy link
Contributor

Since there are 2 thumbs up, I'm hitting the merge button.

@pveentjer pveentjer merged commit 38b2c58 into hazelcast:master Jan 7, 2017
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Core Type: Defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QuorumService inconsistent state
6 participants