Bug 1276638 - write serialization should be guaranteed for posix mandatory locks
Summary: write serialization should be guaranteed for posix mandatory locks
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-30 10:47 UTC by Raghavendra Talur
Modified: 2019-05-09 09:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-09 09:54:12 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Talur 2015-10-30 10:47:20 UTC
Description of problem:

When a mandatory lock request arrives at the posix locks xlator, it should be sent success only when all the conflicting operations(like write) which were already STACK WOUND have been UNWOUND too.  If not, then in the rarest of the cases it may happen that a write from the client which had acquired the lock wins the race against the write which was WOUND but not UNWOUND there by causing loss of data guarantees.

How reproducible:
Very rare, but it a bug nevertheless.

Credits: Raghavendra Gowdappa explained the possibility of this bug.

Comment 1 Amar Tumballi 2019-05-09 09:54:12 UTC
Thanks for the report, and considering the rarity of the bug, and as we had not seen this in last 3+ years, marking it as DEFERRED. We will revisit and pick this if we get time resource/time later.


Note You need to log in before you can comment on or make changes to this bug.