[SERVER-61782] Make internal transaction run logic async Created: 29/Nov/21  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

Issue Links:
Backports
Issue split
split to SERVER-65839 Add way to use transaction API withou... Open
split to SERVER-65840 Allow returning any type from the cal... Backlog
Related
related to SERVER-72701 Create a synchronous transaction API ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Sharding NYC 2022-04-18, Sharding 2022-05-02
Participants:

 Description   

Currently the internal transaction API can only synchronously run transactions. As part of this ticket, we should change it to instead run them asynchronously. Additionally, the async run method should support returning futures with variable types.



 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:53:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.