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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • v4.9
    • STM 2021-03-22, STM 2021-04-05
    • 129
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Raiden Worley (Inactive)
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: