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

Error on writes with unsupported transaction options

    XMLWordPrintableJSON

Details

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

    Description

      We may want to support one-shot autocommit batch writes at some point in the future, but we won't for 4.0. To ensure we're leaving the door open for that in the future, any write command that explicitly receives autocommit:true should error.

      Additionally, any write command run with readConcern:snapshot outside of a multi-doc transaction should also error.

      Finally any write command run inside of a multi-doc transaction should error if a writeConcern is explicitly specified for the write

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: