[SERVER-8266] deadlock in touch command Created: 22/Jan/13 Updated: 11/Jul/16 Resolved: 22/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | 2.4.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
touch_pages grabs read lock and then MongoFilesShared, and then TempReleases the read lock. journal thread grabs read lock and then MongoFilesExclusive (on Windows). journal thread blocks waiting for MongoFilesExclusive, while touch_pages thread blocks waiting to relock the read lock when TempRelease goes out of scope. |
| Comments |
| Comment by auto [ 22/Jan/13 ] |
|
Author: {u'date': u'2013-01-22T16:43:52Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}Message: |