[SERVER-60460] Add invariant to check that global lock is held when calling CollectionCatalog::get Created: 05/Oct/21 Updated: 27/Oct/23 Resolved: 06/Oct/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Henrik Edin | Assignee: | Gregory Wlodarek |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||||||
| Sprint: | Execution Team 2021-10-18 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
To prevent subtle bugs where a concurrent writer with exclusive global X lock run concurrently and modifies the CollectionCatalog inplace. |
| Comments |
| Comment by Gregory Wlodarek [ 06/Oct/21 ] |
|
|