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

There should be a reasonable bound on document deletion after expiry has occurred

    XMLWordPrintable

Details

    Description

      Today, there is no firm bound on when deletion happens after document expiry occurs. In the worst case, deletion may never happen at all under full eviction and a read-only workload. Since deletion after expiry happens under document access, this policy works well for KV. However, indexes such as GSI covered indexes, FTS and Views can continue to include expired-but-not-deleted items for an unbounded length of time.

      Since we shouldn't have all indexes separately manage expiry and since expiry time (in the way it's currently defined) can only be computed on the node on which the document is stored it seems to make most sense for this to be a KV responsibility.

      Attachments

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

        Activity

          People

            shivani.gupta Shivani Gupta
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty