[Bugs] [Bug 1461129] malformed cluster.server-quorum-ratio setting can lead to split brain

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 14 12:49:33 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1461129



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17538 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit c5b81783d5532a3b3a2bd1948bd1c9bfa4a023e1
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 13 10:06:57 2017 +0200

    glusterd: fix quorum calculation if percentage is not specified correctly

    There was an extra "ratio = _gf_true".

    - In case the ratio was specified correctly
      in the volfile, this is redundant.
    - In case the ratio was specified, but not parseable
      into a precentage, this is wrong and would
      lead to a quorum count of 0 instead of falling
      back to the default of 50% + 1.

    This patch removes the extra setting of "ratio".

    Change-Id: I2bd57ebf1b8989e905481a2b6285a1f422942f72
    BUG: 1461129
    Signed-off-by: Michael Adam <obnox at samba.org>
    Reviewed-on: https://review.gluster.org/17538
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Tested-by: Atin Mukherjee <amukherj at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list