Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2022-01-10, Sharding EMEA 2022-01-24
-
138
Description
The _configsvrRemoveShard command must wait for majority before returning in order to ensure causal consistency.
It should be enough to add the following code at the end of the command:
repl::ReplClientInfo::forClient(opCtx->getClient()).setLastOpToSystemLastOpTime(opCtx);
|