[SERVER-25892] listDatabases command doesn't hold global lock when getting the list of databases Created: 31/Aug/16 Updated: 19/Nov/16 Resolved: 06/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Geert Bosch |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Integration 2016-10-10 |
| Participants: |
| Description |
|
It uses DBLock when querying the individual dbs, but it doesn't hold any locks during the initial call into the storage engine. At the very least this can race with clean shutdown. |
| Comments |
| Comment by Githook User [ 06/Oct/16 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Ian Whalen (Inactive) [ 12/Sep/16 ] |
|
Putting as 3.3 Required but might deprioritize based on checking whether this can cause corruption or crashes. |