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

Balancer should be able to recover its state after CSRS primary stepdown/crash

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.14
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 17 (07/15/16), Sharding 18 (08/05/16), Sharding 2016-08-29, Sharding 2016-09-19

      Description

      Write a "recovery" method on the MigrationManager for the case where it steps down (with a bunch of migrations going on) and then starts up again on a another primary. In this case the new MigrationManager will have to "inherit" the active migrations and wait for them to complete before doing another round.

      *Write a JS test to test this, including querying the config.migrations collection at points to check it is correct.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: