[Bugs] [Bug 1272460] Disk usage mismatching after self-heal

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 28 13:39:46 UTC 2015


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



--- Comment #6 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12371 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 641b3a9164227db52df1aab05795c90d06b315f2
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Oct 21 21:05:46 2015 +0530

    afr: write zeros to sink for non-sparse files

    Problem: If a file is created with zeroes ('dd', 'fallocate' etc.) when
    a brick is down, the self-heal does not write the zeroes to the sink
    after it comes up. Consequenty, there is a mismatch in disk-usage
    amongst the bricks of the replica.

    Fix: If we definitely know that the file is not sparse, then write the
    zeroes to the sink even if the checksums match.

    Change-Id: Ic739b3da5dbf47d99801c0e1743bb13aeb3af864
    BUG: 1272460
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/12371
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=rRncFnNOuS&a=cc_unsubscribe


More information about the Bugs mailing list