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

Drop of collection only containing prepares does not schedule compaction

    XMLWordPrintable

Details

    • Triaged
    • 1
    • No
    • KV-Engine Sprint 2020-Dec

    Description

      Been looking at MB-41165 and spotted this. I think that this was introduced in MB-41882 which assumes that we use some other mechanism to clean up the prepares. The compaction is required to clean up the HashTable and DurabilityMonitors though. I don't think this causes any issues in terms of the DurabilityMonitors/assertions. They should deal with having dropped but not erased writes lying around already. The next compaction will eventually clean up these prepares but they could be a significant amount of data in certain circumstances so we need should schedule the compaction.

      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 are no open Gerrit changes

                PagerDuty