-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.7.0
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
-
0
If a mongos receives a StaleDatabaseVersion error, it refreshes its cache only if the shard attached a wantedVersion to the error. This prevent a stale mongos from discovering that a database have been dropped. In fact in this case the shards won't send any wanted version since the database doesn't exist anymore.
None of our current tests cover this scenario, so we should also add a test for this.
- is caused by
-
SERVER-49856 Make DatabaseCache causally consistent through the usage of ComparableDatabaseVersion
- Closed