Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
Sharding 2020-05-04, Sharding 2020-05-18, Sharding 2020-06-01
-
0
Description
As part of this change, the ReadThroughCache's template should be made to accept a separate parameter called "Time" (or alternatively it could be a required method on the "Value" type), which should be a sortable class, containing the vector clock timestamp of each value in the cache.
The invalidate* suite of methods should be replaced with an advanceTime(const Key& key, Time time) method which cause the in-memory time of the specified key to move forward, so that subsequent call to acquire need to keep loading until the value fetched from the persisted store reaches time.
Attachments
Issue Links
- depends on
-
SERVER-44978 Make ReadThroughCache support asynchronous loading
-
- Closed
-
- is depended on by
-
SERVER-46199 Implement collection cache on top of ReadThroughCache to make it causally consistent
-
- Closed
-
-
SERVER-46202 Implement ShardRegistry on top of ReadThroughCache to make it causally consistent
-
- Closed
-
- related to
-
SERVER-48181 Incorrect destruction order of Cache vs ThreadPool in the ReadThroughCache unit-tests
-
- Closed
-