[Bugs] [Bug 1420982] Automatic split brain resolution must check for all the bricks to be up to avoiding serving of inconsistent data (visible on x3 or more)

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 15 12:31:49 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16587 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 8de5213db8771088ae214d42bcae056e409d7b6a
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Mon Jan 30 09:54:16 2017 +0530

    afr: all children of AFR must be up to resolve s-brain

    Problem:
    The various split-brain resolution policies (favorite-child-policy based,
    CLI based and mount (get/setfattr) based) attempt to resolve split-brain
    even when not all bricks of replica are up. This can be a problem when
    say in a replica 3, the only good copy is down and the other 2 bricks
    are up and blame each other (i.e. split-brain). We end up healing the
    file in such a  case and allow I/O on it.

    Fix:
    A decision on whether the file is in split-brain or not must be taken
    only if we are able to examine the afr xattrs of *all* bricks of a given
    replica.

    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    > Reviewed-on: https://review.gluster.org/16476
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>

    (cherry picked from commit 0e03336a9362e5717e561f76b0c543e5a197b31b)
    Change-Id: Icddb1268b380005799990f5379ef957d84639ef9
    BUG: 1420982
    Reviewed-on: https://review.gluster.org/16587
    Tested-by: Ravishankar N <ravishankar at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=C1uLFxw80T&a=cc_unsubscribe


More information about the Bugs mailing list