-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v5.1, v5.0
-
Sharding 2021-10-18
-
21
-
1
logChange will eventually call shard::runCommand, which has checks if operation context was interrupted. This is problematic because installCoordinatorDoc is usually used in conjunction with a corresponding write to update coordinate state. And if it gets interrupted while calling logChange, the in-memory state will remain in the pre-update state and will incorrectly retry ops if inside a WithAutomaticRetry.