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

Transactions shell helpers shouldn't attach readConcern to any operation but the first in a transaction

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.4
    • Component/s: Replication
    • Labels:
      None

      Description

      When running transactions within a causally consistent session in the shell, all operations in the transaction get an afterClusterTime readConcern attached to them, which will cause all operations after the first to error with InvalidOptions since readConcern is only allowed on the first operation in the transaction

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: