[Bugs] [Bug 1322253] gluster volume heal info shows conservative merge entries as in split-brain

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 12 06:28:06 UTC 2016


--- Comment #4 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13811 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
commit e88962f8c49ea1d65fa26703e5c11be3f21af2ba
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Mon Mar 21 23:26:43 2016 +0530

    cluster/afr: Fix witness counting code in src/sink detection

    In afr-v1 pre-op, xattrop increments self xattr first then it increments
    value on rest. In post-op, xattr value is decreased first on rest and at
    it gets decremented on self. So for a possible operation to be witnessed
    a fop is seen by the brick it is important to have at least 1 pending op
    because without completing pre-op fop won't come. The other possibility is
    fop completes but at the time of post-op after decrementing pending counts
    others just before decrementing its own pending count, the brick dies.

    Fix witness detection code in afr_self_heal_find_direction()

    BUG: 1322253
    Change-Id: Ia7e76482c0a46e775e269bb96ec1b9490a3ac18f
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/13811
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>

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