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

Create config.transactions cloner for resharding

    • Fully Compatible
    • Sharding 2020-09-21, Sharding 2020-10-05, Sharding 2020-10-19

      The config.transactions cloner for resharding should take the aggregation pipeline from SERVER-49898, run it against a particular donor, and update the config.transactions entries on itself (a recipient).

      • Serialize the aggregation pipeline from createConfigTxnCloningPipelineForResharding() using Pipeline::serializeToBson() and use the serialized form to create an AggregationRequest.
      • Add the necessary read concern and hint to the AggregationRequest.
      • Run the aggregate command on the remote donor. See the description of SERVER-49893 for some ideas on the options for this.
      • Follow the procedure for updating the entries (or inserting new entries) in the config.transaction table described in the design document.

            Assignee:
            eric.maynard@mongodb.com Eric Maynard
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: