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

Make transactions on mongos use snapshot level readConcern if no level was provided

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding 2018-07-30, Sharding 2018-08-13

    Description

      If the first statement in a transaction does not specify snapshot readConcern, mongod will implicitly upconvert it to snapshot. Mongos currently does not have this behavior, and because many core/txns tests rely on this, either mongos will need to upconvert readConcerns to snapshot as well (until we support transactions with other readConcern levels) or the tests need to be updated to explicitly choose snapshot readConcern.

      Attachments

        Activity

          People

            jack.mulrow@mongodb.com Jack Mulrow
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: