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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.6
    • Component/s: Performance, Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2018-04-23, Storage NYC 2018-05-07
    • 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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: