[SERVER-78675] TransactionParticipant generates applyOps entry information for prepared transactions rather than delegating to OpObserverImpl Created: 05/Jul/23 Updated: 29/Oct/23 Resolved: 06/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| 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 | ||||||||||||||||
| Sprint: | Execution NAMR Team 2023-07-10 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
OpObserverImpl::preTransactionPrepare() currently generates the applyOps entry information using the provided oplog slots from TransactionParticipant. This applyOps info is returned from the OpObserver interface for TransactionParticipant's own processing. We can move this call to TransactionOperations::getApplyOpsInfo() to the TransactionParticipant and simplify the OpObserver interface by eliminating the need for the OpObserver method to return a result. |
| Comments |
| Comment by Githook User [ 06/Jul/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Githook User [ 06/Jul/23 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 05/Jul/23 ] |
|
This change supports |