You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2017/08/11 05:44:00 UTC

[jira] [Resolved] (RATIS-97) Leader may not have majority after setConfiguration

     [ https://issues.apache.org/jira/browse/RATIS-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jing Zhao resolved RATIS-97.
----------------------------
       Resolution: Fixed
    Fix Version/s: 0.2.0-alpha

I've committed the patch. Thanks Nicholas!

> 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
>             Fix For: 0.2.0-alpha
>
>         Attachments: r97_20170728.patch, r97_20170731.patch, r97_20170801b.patch, r97_20170801.patch, r97_20170807.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)