[Bugs] [Bug 1305836] DHT: Take blocking locks while renaming files

bugzilla at redhat.com bugzilla at redhat.com
Tue May 10 10:40:54 UTC 2016


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


--- Doc Text *updated* by Sakshi <sabansal at redhat.com> ---
Consequence: Renaming files takes non-blocking locks and hence can fail with EBUSY if there are parallel rename or rename and rebalance. This leads to application discontinuity. 

Fix: Take blocking locks while renaming files.

Result: Rename files now gets blocked if the lock on file is acquired by another client doing rename or rebalance. Once the latter client completes the fop it grants the lock to the former client. This client completes the fop thereby avoiding application discontinuity.


-- 
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=vSFZt5uz02&a=cc_unsubscribe


More information about the Bugs mailing list