MigrationManager::_abandonActiveMigrationsAndEnableManager should also accept kStopping, and put it in the appropriate state. It shouldn't abandon the recovery (clear config.migrations and release distlocks) in this case, just halt the recovery.
- is related to
-
SERVER-25905 In transition to config primary, drop all distlocks, and reacquire balancer distlocks
- Closed