[SERVER-60024] Call WT::commit_transaction across yields instead of WT::abort_transaction Created: 16/Sep/21  Updated: 29/Oct/23  Resolved: 12/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Task Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-68795 Make PlanYieldPolicySBE always use ne... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-10-04, Execution Team 2021-10-18
Participants:

 Description   

When a query yields, we will change the abandonSnapshot() call to invoke WT::commit_transaction, leaving all cursors positioned and valid.

Whether we will do this only for SBE or for the classic engine as well is still up for discussion.

As part of this work, we will also use the flag/parameter introduced inĀ SERVER-60023 to disable copying and cursor repositioning across yields in SBE.



 Comments   
Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Ian Boros', 'email': 'ian.boros@mongodb.com', 'username': 'borosaurus'}

Message: SERVER-60024 Add interface to recovery unit to force commit txn call
Branch: master
https://github.com/mongodb/mongo/commit/8f5ca6e3ce7153455a667e520478118e14e3beda

Generated at Thu Feb 08 05:48:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.