Use ReadConcernArgs OperationContext decoration on mongos

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The command path on mongod places the command's extracted readConcern args on an operation context decoration. This allows the readConcern to be accessed wherever the operation context is passed.

      For global point in time reads, we'll need a way to check if a command is running with snapshot readConcern on mongos, which we can do by setting this decoration when mongos first parses readConcern in strategy.cpp.

            Assignee:
            Jack Mulrow
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: