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

Design item expiry processing with concurrent compaction with non-blocking writes

    XMLWordPrintable

Details

    Description

      With couchstore, either doc writes or compaction runs at a time. Writes are blocked while compaction is running. This makes expiry processing simple during the compaction. Any race condition of an expired item getting overwritten while processing expiry during compaction can be avoided by checking the latest hash table entry. When concurrent compaction is executed, we have to make sure that a new version of the item has been already persisted in the storage engine. We need to design the expiry processing APIs with concurrent compaction.

      Attachments

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

        Activity

          People

            sarath Sarath Lakshman
            sarath Sarath Lakshman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty