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

tombstone 'delete time' can be in the past or far future

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.2, 6.5.0
    • master, 5.5.0, 5.5.2, 5.5.3, 5.5.4, 6.0.0, 6.0.1
    • couchbase-bucket
    • None
    • Untriaged
    • Yes

    Description

      The logic in http://review.couchbase.org/#/c/88301/17/engines/ep/src/checkpoint.cc is flawed and can allow a tombstone to be created with

      • A delete time in the past, which could be immediately purged causing issues as seen in the linked CBSE.
      • A delete time in the future, which allows the tombstone to remain on disk for potentially a long time.

      We should be more robust and set the delete-time to be ep_real_time at the point of deletion.

      Attachments

        Issue Links

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

          Activity

            People

              anitha.kuberan Anitha Kuberan
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty