Removing the wait can potentially make the migration critical section wait longer, but it also prevents the situation where the rate of SessionCatalogMigrationDestination depleting the session buffer from the donor shard cannot catch up with the rate of incoming new writes in the chunk and thus, will never finish the migration.
- is related to
-
SERVER-56185 Investigate possible improvements with session migration and a chunk migration's critical section
- Closed