[Bugs] [Bug 1199985] [RFE] arbiter for 3 way replication

bugzilla at redhat.com bugzilla at redhat.com
Tue May 5 07:06:55 UTC 2015


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



--- Comment #26 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10258 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 25e8e74eb7b81ccd114a9833371a3f72d284c48d
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Apr 15 22:22:08 2015 +0530

    afr: add arbitration support

    Add logic in afr to work in conjunction with the arbiter xlator when a
    replica 3 arbiter volume is created. More specifically, this patch:

    * Enables full locks for afr data transaction for such volumes.
    * Removes the upfront marking of pending xattrs at the time of pre-op
      and defer it to post-op. (This is an arbiter independent change and is
made for all afr transactions.)
    * After pre-op stage, check if we can proceed with the fop stage without
      ending up in split-brain by examining the changelog xattrs.
    * Unwinds the fop with failure if only one source was available at the
       time of pre-op and the fop happened to fail on particular source brick.
    * Skips data self-heal if arbiter brick is the only source available.
    * Adds the arbiter-count option to the shd graph.

    This patch is a part of the arbiter logic implementation for 3 way AFR
    details of which can be found at http://review.gluster.org/#/c/9656/

    Change-Id: I9603db9d04de5626eb2f4d8d959ef5b46113561d
    BUG: 1199985
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/10258
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=4CIZlgAUkh&a=cc_unsubscribe


More information about the Bugs mailing list