-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v7.0, v6.0, v5.0
-
Sharding EMEA 2023-07-24
-
105
-
1
The invariant on the shard_version_retry::shardVersionRetry router loop is probably a bit too strict: it assumes that if we route a request over some nss, any Stale* error is going to be over that namespace. This is not always true, as we recently saw in this other router loop that we relaxed some weeks ago.
Note that the router loop being addressed here is only used as an internal helper. Thus, at this point we are going to relaxed a bit to properly support timeseries collections (i.e. I route over dbName.collName but got an error over dbName.system.buckets.collName.