[SERVER-15828] collStats does not appear to take a lock Created: 28/Oct/14 Updated: 10/Dec/14 Resolved: 28/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | 2.8.0-rc0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alvin Richards (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | 28qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
ProblemcollStats appears not to take a lock out (either C_S or DB_S). This is different to listCollections which takes a DB_S lock. Not clear if collStats should follow the same pattern https://github.com/mongodb/mongo/blob/master/src/mongo/db/commands/list_collections.cpp#L70
|
| Comments |
| Comment by Daniel Pasette (Inactive) [ 28/Oct/14 ] |
|
this call gets the read lock: |