Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34594

benchRun should only attach autocommit argument to multi-statement transaction operations

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.6
    • Affects Version/s: None
    • Component/s: Performance, Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-04-23, Storage NYC 2018-05-07
    • 0

      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.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: