Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2020-08-10
Description
Introduce a new class called say ComparableDatabaseVersion, which allows to compare two database versions that have different epoch. This class will be use as clock for the DatabaseCache (introduced by SERVER-48992) to make it causally consistent. In particular it will be use to advance the cached database entry's time as a result of a reception of StaleDatabaseVersion.
Attachments
Issue Links
- causes
-
SERVER-51390 Always refresh database cache on StaleDatabaseVersion
-
- Closed
-
- depends on
-
SERVER-48992 Implement database cache on top of ReadThroughCache
-
- Closed
-
-
SERVER-49189 Make the ReadThroughCache lookup send the old entry state to the lookup function
-
- Closed
-
- split from
-
SERVER-48991 Make CatalogCache causally consistent
-
- Closed
-