[Bugs] [Bug 1250361] New: quota accounting can get messed up with race between rename and in-progress writes

bugzilla at redhat.com bugzilla at redhat.com
Wed Aug 5 08:48:48 UTC 2015


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

            Bug ID: 1250361
           Summary: quota accounting can get messed up with race between
                    rename and in-progress writes
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: gluster-quota
          Assignee: vagarwal at redhat.com
          Reporter: vmallika at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1250359



+++ This bug was initially created as a clone of Bug #1250359 +++

Consider below scenario
1) rename FOP invoked on file 'x'
2) write is still in progress for file 'x'
3) rename takes a lock on old-parent
3) write-update txn blocked on old-parent
4) in rename_cbk, contri xattrs are removed and contribution is deleted and
lock is released
5) now write-update txn gets the lock and updates the wrong parent


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1250359
[Bug 1250359] quota accounting can get messed up with race between rename
and in-progress writes
-- 
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=a3QBLsP5aZ&a=cc_unsubscribe


More information about the Bugs mailing list