Operational Defect Database

BugZero found this defect 23 days ago.

MongoDB | 2655343

MigrationDestinationManager should explicitly wait for existing session migration thread to complete before restarting a new migration

Last update date:

4/26/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

8.0 Required

Description:

Info

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.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...