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

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 29 08:40:22 UTC 2015


--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12436 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
commit 50646435b4076cfb30d7ebabf2d688f91c957cec
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

    Backport of http://review.gluster.org/#/c/12371/
    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: 1275921
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/12436
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=Zr8kqNFjAY&a=cc_unsubscribe

More information about the Bugs mailing list