[SERVER-37841] multi_statement_transaction_all_commands.js appears to only run single statement transactions Created: 30/Oct/18  Updated: 29/Oct/23  Resolved: 14/Nov/18

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

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: ShardedTxn:Testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-38018 Unblacklist multi_statement_transacti... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-11-19
Participants:

 Description   

Each state transition is currently wrapped in autoRetryTxn, which tries to start the transaction. This has a side effect of aborting the current active transaction. So there is always only one statement that was executed on the current transaction when the state machine transitions to commitTxn.



 Comments   
Comment by Githook User [ 14/Nov/18 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-37841 make multi_statement_transaction_all_commands.js run multi statement transactions
Branch: master
https://github.com/mongodb/mongo/commit/6e8f2a7109505385d902b017112433a133eff9d5

Comment by Randolph Tan [ 30/Oct/18 ]

I have confirmed this is actually happening for threadCount = 1 case.

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