[Bugs] [Bug 1403121] Asynchronous Unsplit-brain still causes Input/ Output Error on system calls

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 13 06:25:25 UTC 2016


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16088 committed in release-3.9 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit 8d36a3cb838b8ff277a4b41f56cd380325cb7837
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Fri Dec 9 06:09:14 2016 +0000

    afr: allow I/O when favorite-child-policy is enabled

    Problem:
    Currently, I/O on a split-brained file fails even when the
    favorite-child-policy is set until the self-heal is complete.

    Fix:
    If a valid 'source' is found using the set favorite-child-policy,inspect
    and reset the afr pending xattrs on the 'sinks' (inside appropriate
    locks),refresh the inode and then proceed with the read or write
transaction.

    The resetting itself happens in the self-heal code and hence can also
    happen in the client side background-heal or by the shd's index-heal in
    addition to the txn code path explained above. When it happens in via
    heal, we also add checks in undo-pending to not reset the sink xattrs
    again.

    > Reviewed-on: http://review.gluster.org/15673
    > Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    > 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>

    Change-Id: Ic8c1317720cb26bd114b6fe6af4e58c73b864626
    BUG: 1403121
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reported-by: Simon Turcotte-Langevin <simon.turcotte-langevin at ubisoft.com>
    Reviewed-on: http://review.gluster.org/16088
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    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=LbaIHux5pR&a=cc_unsubscribe


More information about the Bugs mailing list