The chunk migration "convergence algorithm" is the logic which the donor and participant implement in order for the donor to decide when to enter the critical section and block writes.
The current implementation relies on the recipient being capable of catching up on every modification occurred during the migration and reaching the STEADY state to allow the donor to enter the critical section.
It has been detected that under situations of heavy load such condition may be never met, as the rate of incoming modifications is bigger than what can be transferred to the recipient.
Potetial fixes are:
(1) The donor sends to the recipient some measure of how much mods are left, so it can enter the steady state based on some delta, rather than zero.
(2) The donor decides to enter the critical section not based on whether the recipient has decided to enter steady-state (which includes a wait for majority)
(Option 2 might not be appropriate, though because it adds the recipient's majority wait under the critical section)
- is duplicated by
-
SERVER-57634 moveChunk catch up phase times out while performing a bulk insert
- Closed
- is related to
-
SERVER-56185 Investigate possible improvements with session migration and a chunk migration's critical section
- Closed
- related to
-
SERVER-57634 moveChunk catch up phase times out while performing a bulk insert
- Closed