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

Compaction driven expiration of SyncWrite can break HashTable constraint post warmup of incomplete disk snapshot

    XMLWordPrintable

Details

    • Triaged
    • 1
    • No
    • KV-Engine Sprint 2020-Dec, KV-Engine 2021-Jan

    Description

      The normal compaction expiry path is broken if we warmup an incomplete disk snapshot that contains a prepare. In this case we can replace the prepared item (which will have the same cas as the committed item) with a newly deleted item. This is incorrect and can lead to the HashTable having two committed items if we also warmed up the committed item.

      We likely haven't seen this yet as it would require us to fail over enough nodes to flip a partially up to date replica to active.

      Attachments

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

        Activity

          People

            ben.huddleston Ben Huddleston
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty