[Bugs] [Bug 1450934] [New] - Replacing an arbiter brick while I/ O happens causes vm pause

bugzilla at redhat.com bugzilla at redhat.com
Thu May 18 08:08:22 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17295 committed in release-3.10 by
Raghavendra Talur (rtalur at redhat.com) 
------
commit 176e956c44de46998394a426d8b2451c4fa7ea35
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed May 10 10:03:08 2017 +0530

    afr: propagate correct errno for fop failures in arbiter

    Problem:
    If quorum is not met in fop cbk, arbiter sends an ENOTCONN error to the
    upper xlators. In a VM workload with sharding enabled, this was leading
    to the VM pausing when replace-brick was performed as described in the BZ.

    Fix:
    Move the fop cbk arbitration logic to afr_handle_quorum() because in
    normal replica volumes, that is the function that has the quorum and
    errno checks in the fop cbk path before doing a post-op.

    Thanks to Pranith for suggesting this approach.

    > Reviewed-on: https://review.gluster.org/17235
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    (cherry picked from commit 93c850dd2a513fab75408df9634ad3c970a0e859)

    Change-Id: Ie6315db30c5e36326b71b90a01da824109e86796
    BUG: 1450934
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: https://review.gluster.org/17295
    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>
    Reviewed-by: Raghavendra Talur <rtalur 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=AlxZd6ln9p&a=cc_unsubscribe


More information about the Bugs mailing list