-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4
-
Sharding 2020-03-23
When creating the sessions collection index, the config server will retry on stale config errors because as of 4.4 createIndexes uses the shard version protocol. Sending the command uses a routing info gotten outside the retry loop, so the same stale routing info will be used by each retry. Instead the routing info should be reloaded between retries.