[Bugs] [Bug 1241831] quota: marker accounting can get miscalculated after upgrade to 3.7

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 13 06:53:51 UTC 2015


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



--- Comment #1 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11614 committed in release-3.7 by Krishnan
Parthasarathi (kparthas at redhat.com) 
------
commit 1509f6f2815cb75ecf45abef6d823c8cb30ed47b
Author: vmallika <vmallika at redhat.com>
Date:   Fri Jul 10 13:29:13 2015 +0530

    quota/marker: fix spurious failure afr-quota-xattr-mdata-heal.t

    This is a backport of http://review.gluster.org/#/c/11583

    During quota-update process if inode info is present in size-xattr and
    missing in contri-xattrs, then in function '_mq_get_metadata', we set
    contri-size as zero (on error -2, which means usage info present, but
    inode info missing).
    With this we are calculating wrong delta and updating the same.

    With this patch we are ignoring errors if inode info in xattrs are
    missing

    > Change-Id: I7940a0e299b8bb425b5b43746b1f13f775c7fb92
    > BUG: 1241153
    > Signed-off-by: vmallika <vmallika at redhat.com>

    Change-Id: Ie85fa84b5362ae179cc43402bd6a3a6d96a04b81
    BUG: 1241831
    Signed-off-by: vmallika <vmallika at redhat.com>
    Reviewed-on: http://review.gluster.org/11614
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Krishnan Parthasarathi <kparthas 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=GYpduh75bF&a=cc_unsubscribe


More information about the Bugs mailing list