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

Delay Raft node creation if local CP member is not initialized #15803

Conversation

@metanet
Copy link
Contributor

metanet commented Oct 17, 2019

On CP member promotion, a new CP member can create Raft nodes before its
local CP member field is not initialized yet. This can create
non-determinism problems for CP groups that rely on the local CP member
information (currently only the METADATA CP group). To prevent this,
Raft node creation is delayed until the local CP member field is
initialized.

This commit completes 7867abb

@metanet metanet added this to the 4.0 milestone Oct 17, 2019
@metanet metanet requested a review from mdogan Oct 17, 2019
@mdogan
mdogan approved these changes Oct 17, 2019
On CP member promotion, a new CP member can create Raft nodes before its
local CP member field is not initialized yet. This can create
non-determinism problems for CP groups that rely on the local CP member
information (currently only the METADATA CP group). To prevent this,
Raft node creation is delayed until the local CP member field is
initialized.

This commit completes 7867abb
@metanet metanet force-pushed the metanet:fix/master/cp-subsystem/delay-raft-node-creation branch from 0296fcb to 805259a Oct 17, 2019
@metanet metanet merged commit 781b189 into hazelcast:master Oct 17, 2019
1 check passed
1 check passed
default Test PASSed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.