[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: |
|
||||||||||||||||||||||||||||
| 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 |