[SERVER-63835] Add factory method to get an instance of the transaction API Created: 18/Feb/22  Updated: 29/Oct/23  Resolved: 20/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-04-18, Sharding 2022-05-02
Participants:

 Description   

The transaction API has several modes it can run in, e.g. run the commands against the local process's service entry point or as cluster commands (after SERVER-63495), so we should add a straightforward way to construct a TransactionWithRetries with the desired behaviors.



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

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-61782 SERVER-63835 Use futures in transaction API run implementation and simplify construction

(cherry picked from commit 06252c6c7d4e5f6afd5a216547e8793c4bedc740)
Branch: v6.0
https://github.com/mongodb/mongo/commit/1f1d8fdb23b009322ceab6709504f536586a086d

Comment by Githook User [ 20/Apr/22 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-61782 SERVER-63835 Use futures in transaction API run implementation and simplify construction
Branch: master
https://github.com/mongodb/mongo/commit/06252c6c7d4e5f6afd5a216547e8793c4bedc740

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