[ https://issues.apache.org/jira/browse/RATIS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114789#comment-16114789 ]
Tsz Wo Nicholas Sze commented on RATIS-97: ------------------------------------------ > Therefore I think the {{reinitialize}} API should first take {{RaftGroupId}} > as its input. ... Do you mean that the new node only take {{RaftGroupId}} without any members? Then, they will learn the setConf call when replaying the log? It sounds like a good idea! Let me change the patch. > Leader may not have majority after setConfiguration > --------------------------------------------------- > > Key: RATIS-97 > URL: https://issues.apache.org/jira/browse/RATIS-97 > Project: Ratis > Issue Type: Bug > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Attachments: r97_20170728.patch, r97_20170731.patch, > r97_20170801b.patch, r97_20170801.patch > > > Here is an example: Suppose a group has 3 servers and one of them is the > leader. Use setConfiguration to add 6 more servers. The leader is still > running as a leader although it does not has majority anymore. The 6 new > servers may elect a new leader among them. Finally, there are two leaders in > the group. -- This message was sent by Atlassian JIRA (v6.4.14#64029)