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

Commands with autocommit or startTransaction but without txnNumber and lsid should error

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2018-04-23

      Commands that include the "autocommit" or "startTransaction" field but do not also include the "txnNumber" and "lsid" fields should error.

      Commands that include the "txnNumber" field but do not also include the "lsid" field should also error.

      This will help drivers find bugs when implementing the transaction API.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: