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

Reads from default RWC cache shouldn't reuse user's read concern

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding
    • Sharding 2019-12-30

    Description

      As of SERVER-43720, the ReadWriteConcernDefaults cache reuses a command's operation context to look up the latest defaults from config.settings. This read currently does not modify the read concern or read source of the operation context, but should instead always read from the latest snapshot to see the most recent defaults. This can possibly be done by using a ReadSourceScope object (introduced by SERVER-40053 and used when fetching a transaction's history) or an AlternativeClientRegion.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: