[SERVER-69529] TransactionParticipant::_resetTransactionStateAndUnlock() does not clear pre/post-image statistics Created: 08/Sep/22 Updated: 29/Oct/23 Resolved: 09/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| 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 Team 2022-09-19 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The TransactionParticipant maintains a list of completed operations in a vector along with some associated statistics (size in bytes, pre/post-images, statement ids). There are two methods it uses to reset these operations and statistics: Current, _resetTransactionStateAndUnlock() does not reset numberOfPrePostImagesToWrite, something that clearOperationsInMemory() does. It would nice to resolve this inconsistency. |
| Comments |
| Comment by Githook User [ 08/Sep/22 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |