[SERVER-82031] Audit change collection truncate markers use of abandonSnapshot() Created: 10/Oct/23 Updated: 29/Oct/23 Resolved: 18/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Yujin Kang Park |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Execution EMEA Team 2023-10-16, Execution EMEA Team 2023-10-30 | ||||||||
| Participants: | |||||||||
| Description |
|
ChangeStreamChangeCollectionManager::removerExpiredChangeCollectionDocumentsWithTruncate() holds a collection pointer, but abandons the snapshot before issuing a range truncate. All of the change collection truncate marker code should be audited for improper use of abandonSnapshot() |
| Comments |
| Comment by Githook User [ 17/Oct/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: |