Bug 762718 (GLUSTER-986) - Race in internal locking for AFR transactions
Summary: Race in internal locking for AFR transactions
Keywords:
Status: CLOSED DUPLICATE of bug 762692
Alias: GLUSTER-986
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: All
OS: Linux
urgent
high
Target Milestone: ---
Assignee: Pavan Vilas Sondur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-04 11:05 UTC by Pavan Vilas Sondur
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Pavan Vilas Sondur 2010-06-04 11:05:07 UTC
The current framework of locking using internal locks is racy and can lead to corruption and self healing not working properly.

Apart from corruption, another problem can happen - self heal / flush (full file locks) can starve due to continuous I/O and never get a lock while I/O continues. So, sometimes a flush is not immediately observed when a child goes up/down. This is especially problematic since, self heal can be blocked when a child is up and I/O continues. This coupled with the race involved as mentioned above can lead to corruption.

See bug 762692 for more information.

Comment 1 Shehjar Tikoo 2010-07-27 08:40:51 UTC
Setting it duplicate of bug 762692, since thats where all the action has been in fixing this.

*** This bug has been marked as a duplicate of bug 960 ***


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