[Bugs] [Bug 1149725] Self-heal on dispersed volumes does not restore the correct date

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 20 10:40:34 UTC 2014


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



--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8906 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit b2a1be0f7bf5e19b266ee57c3287ee9f9170e2f7
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Mon Oct 6 16:34:58 2014 +0200

    ec: Fix incorrect management of healed bricks

    The final lookup made to restore final file attributes after a self-heal
    did clear the mask of bad bricks, causing that the final setattr won't
    modify any brick at all. This caused that some attriutes, specially the
    modification time of the file didn't get updated properly.

    Now the mask of healed bricks is saved before doing the last lookup.
    It's also used to correctly report the repaired bricks.

    This is a backport of http://review.gluster.org/8905/

    Change-Id: Ib94083c9e1b562515dfb54f9574120f1f031dccc
    BUG: 1149725
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/8906
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur 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=JfuEYC9lJV&a=cc_unsubscribe


More information about the Bugs mailing list