Bug 762054 (GLUSTER-322) - Race condition among operations waiting for completion of open in a setup having replicate below quick-read.
Summary: Race condition among operations waiting for completion of open in a setup hav...
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-322
Product: GlusterFS
Classification: Community
Component: quick-read
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-15 13:35 UTC by Raghavendra G
Modified: 2009-10-15 13:43 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra G 2009-10-15 10:43:18 UTC
Marking this bug as invalid, since there will be no more than one operation from a single thread in the waiting list of operations waiting for open. As for as the order of operations between two different goes, quick read need not worry about their order, since the threads themselves have to synchronize the order.

Comment 1 Raghavendra G 2009-10-15 13:35:33 UTC
The operations waiting for completion of open are stack_wound in a loop in qr_open_cbk. With afr below quick-read, there can be race-conditions among the operations since in afr, an fop is implemented as a transaction.

The fix should resume the operations in waiting list one by one making sure that the reply to the first operation in list is got before resuming the next operation.


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