-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.7.9
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
-
Sharding 2018-08-13, Sharding 2018-09-10, Sharding 2018-09-24, Sharding 2018-10-08, Sharding 2018-10-22, Sharding 2018-11-05, Sharding 2018-11-19, Sharding 2019-02-25
-
17
When a mongos with stale db version tries to send a write to an unsharded collection to the wrong shard, it will trigger the onImplicit create error since the collection does not exist on the shard. It will perform a refresh on the collection version and retry again, but since the database version was not refreshed, it will be sent to the same wrong shard and hit the same error again. This will keep on happening until it ran out of retries.