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

Amend command with readConcern atClusterTime

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-12, Sharding 2018-03-26

      Amend command with readConcern atClusterTime. This functionality will be used in sharded implementations of commands once the atClusterTime value is identified.

      implementation

      add to cluster_commands_helpers

      /**
       * Returns a copy of 'cmdObj' with atClusterTime appended to a readConcern.
       */
      BSONObj appendAtClusterTime(BSONObj cmdObj, LogicalTime atClusterTime);
      

      test

      implement a uint tests that checks that the method correctly modifies the BSON obj

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: