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

Replication should differentiate between deleted and expired items

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 1.8.1, 2.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Untriaged

    Description

      We keep track of expired items per vbucket and only actually account for an expired item in the stats if one of these scenarios occurs.

      1. The item is expired by the expiry/item pager
      2. The item is accessed by an operation (eg. get or set) and since the item is expired it is deleted.

      There is actually a third way that an item can be expired and that is through replication. If an item is expired on an active vbucket then a "delete" is replicated to the replica vbuckets. Since we don't differentiate between a delete and an expiration the replica vbucket must assume this is a delete and as a result cannot properly update its expired items stats.

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              mikew Mike Wiederhold [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty