[SERVER-25262] ViewCatalog::lookup() should only be called while holding a read lock Created: 25/Jul/16 Updated: 06/Aug/16 Resolved: 06/Aug/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kyle Suarez | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Major Change |
| Participants: |
| Description |
|
We should add an OperationContext* parameter to ViewCatalog::lookup(), and at least dassert that a database lock is held in MODE_IS. |
| Comments |
| Comment by Kyle Suarez [ 05/Aug/16 ] |
|
Fixed in |