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

Error on writes with unsupported transaction options

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

      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

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

              Created:
              Updated:
              Resolved: