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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-04-23

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: