-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:None
-
Sharding EMEA
-
Sharding EMEA 2021-05-31, Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
The chunk migration recipient side uses a "check opReplicatedEnough" / "sleep" kind of model to wait for replication during the CATCHUP phase. Same thing exists for the STEADY phase, where we check and then sleep.
These should be switched to proper calls to waitForWriteConcern instead.