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

BF Day: Transaction read concerns are not honored by mongo shell

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.0-rc0
    • Shell
    • None
    • Fully Compatible
    • ALL
    • v4.9
    • STM 2021-03-22, STM 2021-04-05
    • 129
    • 2

    Description

      The mongo shell doesn't seem to honor the following statement from the documentation: "If the transaction-level read concern is unset, the transaction-level read concern defaults to the session-level read concern."

      An operation is always executed with the session-level read concern (if set) while the eventual transaction read-level concern - set on the session when starting a new transaction - is completely ignored.

      It should be adopted a solution similar to the one implemented by nodejs driver that is assigning a read-concern to an operation respecting the correct order (transaction RC || session RC || client RC).

      Attachments

        Activity

          People

            carl.worley@mongodb.com Raiden Worley
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: