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

成员变更的实现是否过于简化了些? #27

Open
logicbaby opened this issue Jan 30, 2020 · 2 comments
Open

成员变更的实现是否过于简化了些? #27

logicbaby opened this issue Jan 30, 2020 · 2 comments

Comments

@logicbaby
Copy link

成员变更的实现,到RaftNode后就直接
configuration = newConfiguration;
,没有经过paper上所说的two-phase的C(old,new)阶段,存在某一时刻C(old)和C(new)同时满足majority的情况而导致两个leader选举成功。
这块目前实现是否过于简化了些?

@wenweihu86
Copy link
Owner

@logicbaby 看了下论文,感觉我的实现里,不会出现论文里的多leader情况。因为在新成员没有被大多数old成员提交确认之前,新成员是没有选举权的。

@Tbdgithub
Copy link

成员变更使用的是联合共识(Joint Consensus)还是单节点变更(single-server changes)算法?

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

No branches or pull requests

3 participants