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

Create commitReshardCollection command

    XMLWordPrintable

Details

    • Fully Compatible
    • Sharding 2021-03-08, Sharding 2021-03-22, Sharding 2021-04-05, Sharding 2021-04-19
    • 0
    • 2

    Description

      Should return error if the specified resharding operation does not exist or has completed already.
      Should enter the critical section of the resharding operation if not already reached.
      Should durably record decision to commit the resharding operation if not already done.

      The commit flow is already implemented for resharding. This ticket is about introducing a new promise/future pair that the ReshardingCoordianator waits on and is fulfilled by the commitReshardCollection command.

      We should consider adding a server parameter to preserve the existing "reshardin commits as quickly as possible" style of behavior to avoid impacting existing tests.

      Attachments

        Issue Links

          Activity

            People

              billy.donahue@mongodb.com Billy Donahue
              lamont.nelson@mongodb.com Lamont Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: