Amend command with readConcern atClusterTime

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: