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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.14
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 17 (07/15/16), Sharding 18 (08/05/16), Sharding 2016-08-29, Sharding 2016-09-19

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: