[Bugs] [Bug 1383913] spurious heal info as pending heal entries never end on an EC volume while IOs are going on

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 13 14:35:50 UTC 2016


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15627 committed in release-3.9 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit 2f287ccec79ac8c3b0d808da4db0d661c99fa856
Author: Ashish Pandey <aspandey at redhat.com>
Date:   Tue Sep 20 12:32:28 2016 +0530

    cluster/ec: Implement heal info with lock

    Problem: Currently heal info command prints all
    the files/directories if the index for the
    file/directory is present in .glusterfs/indices folder.
    After implementing patch http://review.gluster.org/#/c/13733/
    indices of the file which is going through update fop
    will also be present in .glusterfs/indices even
    if the fop is successful on all the brick. At this time
    if heal info command is being used, it will also display this
    file which is actually healthy and does not require any heal.

    Solution: Take lock on a file corresponding to the indices
    and inspect xattrs to decide if the file needs heal or not.

    >Reviewed-on: http://review.gluster.org/15543
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    >Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >Signed-off-by: Ashish Pandey <aspandey at redhat.com>

    Change-Id: I6361e2813ece369be12d02e74816df4eddb81cfa
    BUG: 1383913
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/15627
    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: Xavier Hernandez <xhernandez at datalab.es>

-- 
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=JTQytnMykw&a=cc_unsubscribe


More information about the Bugs mailing list