Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
Sharding
-
ALL
-
v4.4
-
Sharding 2020-04-20, Sharding 2020-05-04
Description
Before updating config.shards, check to make sure the electionId is not stale. It is possible that the RSM receives two responses with different views of the replica set in the "correct" order (the older reponse before newer), but that the config server receives the writes in the opposite order, thus overwriting the correct entry in config.shards.