[Bugs] [Bug 1341650] conservative merge happening on a x3 volume for a deleted file

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 13 05:58:52 UTC 2016


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



--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14604 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 8c717491413295a7045ebf9a2b1df630b7cbac76
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Jun 1 17:57:41 2016 +0530

    afr: Consider ENOSPC and EDQUOT as symmetric errors

    Problem:
    Since commit 8eaa3506ead4f11b81b146a9e56575c79f3aad7b, in replica 3, if a
    brick is down and a create fails on the other 2 brick with EDQUOT, we
consider
    it an unsymmetric error and hence do not do post-op. So the dirty xattr
    remains set on the parent dir, leading to conservative merges during heal
when
    all bricks are up. i.e. a file deleted on the source might re-appear after
heal.

    Fix:
    Consider ENOSPC and  EDQUOT as symmetric errors since there is no
    possibility of partial inode or entry modification operations possible when
    quota is enabled. IOW, if quota reports EDQUOT, the no. of bytes written
    (or not written) will be the same on all bricks of the replica.
    Likewise, the entry operation (create, mkdir...) will either succeed or
    not succeed on all bricks.

    Change-Id: Iacb1108e9ef4a918e36242fb4a957455133744e9
    BUG: 1341650
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/14604
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Tested-by: Atin Mukherjee <amukherj 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=LdHiuI6lyP&a=cc_unsubscribe


More information about the Bugs mailing list