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

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 4 11:53:55 UTC 2017


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



--- Comment #10 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16091 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit c539e23023abe743770287439ebe81989a732728
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Fri Dec 9 07:14:17 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: 1378547
    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/16091
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos 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=WCwyKHWjcC&a=cc_unsubscribe


More information about the Bugs mailing list