[SERVER-61704] Investigate the usage of abandonSnapshot() in ReadSourceScope Created: 22/Nov/21 Updated: 29/Oct/23 Resolved: 02/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Execution Team 2022-02-21, Execution Team 2022-03-07, Execution Team 2022-12-12 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
It is considered risky when ReadSourceScope is used along with other RAII types which assume they are managing the snapshots, like the lock free read helpers. We should let the caller acquire and release the snapshots themselves instead of doing it within the raii type. |
| Comments |
| Comment by Githook User [ 02/Dec/22 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |