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

Remember the ReplicaID in multiraft.group. #2823

Merged
merged 4 commits into from
Oct 14, 2015

Conversation

bdarnell
Copy link
Contributor

Whenever the ReplicaID changes, the raft group must be dropped
and recreated so raft knows about this.

Fixes TestRaftRemoveRace.

@tbg
Copy link
Member

tbg commented Oct 14, 2015

LGTM with minor comments

Whenever the ReplicaID changes, the raft group must be dropped
and recreated so raft knows about this.

Fixes TestRaftRemoveRace.
removeGroup needs to modify this map in places where the
local variable is not easily accessible.
bdarnell added a commit that referenced this pull request Oct 14, 2015
Remember the ReplicaID in multiraft.group.
@bdarnell bdarnell merged commit 2516317 into cockroachdb:master Oct 14, 2015
@bdarnell bdarnell deleted the reset-replica-id branch October 14, 2015 09:12
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.

2 participants