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

Amend command with readConcern atClusterTime

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.7.3
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-03-12, Sharding 2018-03-26

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              misha.tyulenev@mongodb.com Misha Tyulenev
              misha.tyulenev@mongodb.com Misha Tyulenev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: