[SERVER-71488] include multi-doc prepare info in TransactionOperations::getApplyOpsInfo() result Created: 18/Nov/22  Updated: 29/Oct/23  Resolved: 06/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.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:
Related
related to SERVER-71655 relax multi-timestamp constraint for ... Closed
related to SERVER-71657 improve const-ness of OpObserver tran... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-12-12, Execution Team 2022-11-28
Participants:

 Description   

The logOplogEntires() function in the OpObserverImpl implementation currently accepts a prepare parameter along with the applyOps struct generated by TransactionOperations::getApplyOpsInfo(). Since getApplyOpsInfo() is called with a prepare parameter and this function is called right before logOplogEntries, it should be possible to eliminate the prepare parameter from the logOplogEntries interface by extending the ApplyOpsInfo struct.



 Comments   
Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71488 remove redundant prepare parameter from logOplogEntries()
Branch: master
https://github.com/mongodb/mongo/commit/ea9d20a820e34d62af92ae31264a5c3d4f3f672f

Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-71488 TransactionOperations::getApplyOpsInfo() returns prepared transaction info in result
Branch: master
https://github.com/mongodb/mongo/commit/73b75eee65455053e5662ce528c1a1e5a119c147

Generated at Thu Feb 08 06:19:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.