[SERVER-72701] Create a synchronous transaction API for SyncTransactionWithRetries Created: 10/Jan/23  Updated: 23/Oct/23  Resolved: 05/Apr/23

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Duplicate Votes: 0
Labels: equality-ga, sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-66261 Add a task executor that executes inl... Closed
depends on SERVER-75553 Re-enable transaction_api_tests incom... Closed
is depended on by SERVER-75553 Re-enable transaction_api_tests incom... Closed
Initiative
Related
is related to SERVER-61782 Make internal transaction run logic a... Closed
Assigned Teams:
Sharding NYC
Sprint: Sharding NYC 2023-02-20, Sharding NYC 2023-03-06, Sharding NYC 2023-03-20, Sharding NYC 2023-04-03
Participants:
Linked BF Score: 13
Story Points: 4

 Description   

The transaction api (SyncTransactionWithRetries) in src/mongo/db/transaction/transaction_api.h is asynchronous. This does not scale as a well as a synchronous API with multiple threads. See linked ticket for performance benefits of synchronous txn api.

For high performance cases in MongoD, a synchronous API will provide a nice performance and scalability boost.



 Comments   
Comment by Mark Benvenuto [ 05/Apr/23 ]

I committed the inline transaction work under the wrong ticket. I committed it under SERVER-75553 instead of SERVER-72701.

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