[SERVER-34594] benchRun should only attach autocommit argument to multi-statement transaction operations Created: 20/Apr/18  Updated: 29/Oct/23  Resolved: 24/Apr/18

Status: Closed
Project: Core Server
Component/s: Performance, Storage
Affects Version/s: None
Fix Version/s: 3.7.6

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-04-23, Storage NYC 2018-05-07
Participants:
Linked BF Score: 0

 Description   

benchRun was recently modified to support snapshot reads. It decides to attach an autocommit parameter to a command if there is a txnNumber field present. This is not entirely correct, since retryable writes command have transaction numbers, but they are not allowed to specify an autocommit argument. This should be fixed so that autocommit fields are only added for operations on multi-statement transactions.



 Comments   
Comment by Githook User [ 23/Apr/18 ]

Author:

{'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24', 'name': 'Xiangyu Yao'}

Message: SERVER-34594 Retryable writes should not use multi statement transaction in benchRun
Branch: master
https://github.com/mongodb/mongo/commit/93fd36a003686fe39935fa9c9d9b1b354a14eceb

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