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

Ephemeral buckets: After delete curr_items is not decremented

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • couchbase-bucket
    • None
    • Untriaged
    • No

    Description

      Found while running the epengine doc-keys test suite but easily reproducible:

      1. Create an ephemeral bucket
      2. Add a KV pair
      3. Delete that KV
      4. Do a get on the KV to confirm that the KV is no longer there
      5. Check cbstats and curr_items is 1 instead of 0.

      Observed with 5.0.0-1928.

       

      Here is the python script I used to reproduce this:

       

      from couchbase.bucket import Bucket
      cb = Bucket('couchbase://172.23.106.24/default') 
      cb.upsert('king_arthur', {'name': 'Arthur',
                 'email': 'kingarthur@couchbase.com',
                 'interests': ['Holy Grail', 'African Swallows']})
       
      rc = cb.delete('king_arthur')
      print 'the rc is', rc
      rc = cb.get('king_arthur')
      print 'get rc is', rc
      

       

      Attachments

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

        Activity

          People

            ericcooper Eric Cooper (Inactive)
            ericcooper Eric Cooper (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty