Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-58035

Magma may disregard history retention time if current time < CAS of newest key

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              apaar.gupta Apaar Gupta
              apaar.gupta Apaar Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty