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

Add of new prepare replaces unpersisted delete which exposes old document to bgfetch in FullEviction

    XMLWordPrintable

Details

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

    Description

      In the VBucket::add code we allow an unpersisted delete to be replaced. If we replace an unpersisted delete with a committed item then all works fine as that item can be returned from the HashTable. If we replace an unpersisted delete with a prepare then a get finds no item in the HashTable and may queue a BgFetch which can return the document in its previous (undeleted) state.

      Attachments

        For Gerrit Dashboard: MB-42918
        # Subject Branch Project Status CR V

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty