Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.2.0, 7.2.1
-
Untriaged
-
0
-
Unknown
Description
Magma's history retention logic subtracts current HLC time got via a callback from kv_engine with the newest timestamp in an SSTable to see if the SSTable can be retained in history. As detailed in MB-55798, there are cases where the CAS can switch to complete logical mode(XDCR) resulting in SSTable's timestamp being greater than the current time.
Magma's code will integer underflow in these cases are disregard the time based history eviction.
Attachments
Issue Links
- relates to
-
MB-55798 CDC: The history time "now" callback doesn't know the vbucket.
- Closed