[Bugs] [Bug 1163760] when replace one brick on disperse volume, ls sometimes goes wrong

bugzilla at redhat.com bugzilla at redhat.com
Sat Nov 15 18:00:56 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9117 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 8c4ae34f8803f44f2f1e459883581a953bca42ec
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Thu Nov 13 13:55:36 2014 +0100

    ec: Avoid self-heal on directories on (f)stat calls

    To avoid inconsistent directory listings, a full self-heal
    cannot happen on a directory until all its contents have
    been healed. This is controlled by a manual command using
    getfattr recursively and in post-order.

    While navigating the directories, sometimes an (f)stat fop
    can be sent. This fop caused a full self-heal of the directory.

    This patch makes that (f)stat only initiates a partial self-heal.

    Change-Id: I0a92bda8f4f9e43c1acbceab2d7926944a8a4d9a
    BUG: 1163760
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/9117
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.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