Error on writes with unsupported transaction options

XMLWordPrintableJSON

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

      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
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: