[SERVER-51320] Investigate removing <dbname>.system.views CollectionLocks from the ViewCatalog functions Created: 02/Oct/20 Updated: 29/Oct/23 Resolved: 13/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Execution Team 2020-10-19 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
CollectionLock invariants that an appropriate DBLock is held. Lock-free reads do not take that DBLock. Also, lock-free reads do not want to take any collection or database level locks, including <db>.system.views collection locks. We need to remove them, or find another solution if needs be. Looks like |
| Comments |
| Comment by Githook User [ 13/Oct/20 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: They are not needed after the work in |