Currently, the wait happens implicitly when MigrationDestinationManager::start() replaces the old _sessionMigration with the newly created _sessionMigration. From BF-32882, it is possible for the _sessionMigration thread to remain uninterrupted and this wait can lead to a deadlock between stepdown, MigrationDestinationManager and SessionCatalogMigrationDestination.
MigrationDestinationManager should explicitly wait for existing session migration thread to complete before restarting a new migration
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: