[SERVER-33307] Add a WriteUnitOfWork::prepare method Created: 13/Feb/18  Updated: 29/Oct/23  Resolved: 21/Mar/18

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

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-03-26, Storage NYC 2018-03-12
Participants:

 Description   

/**
 * The state must be kActiveUnitOfWork and the WUOW may not be nested and will throw
 * in that case. Will transition the WriteUnitOfWork to the "prepared" state or throw
 * PreparedTransactionsNotSupported. May throw WriteConflictException. 
 */
void WriteUnitOfWork::prepare();



 Comments   
Comment by Githook User [ 21/Mar/18 ]

Author:

{'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams', 'username': 'louiswilliams'}

Message: SERVER-33306 SERVER-33307 SERVER-33308 Add prepareTransaction command stub. Add prepare method to
WriteUnitOfWork. Implement prepareUnitOfWork in WiredTigerRecoveryUnit.
Branch: master
https://github.com/mongodb/mongo/commit/9799d8b7223205635ccb428bbec1ba4d947ba13b

Generated at Thu Feb 08 04:32:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.