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

When Memcached Client (python) delete an item, the item's cas returned by delete operation is NOT "0" (since build 1758)

    XMLWordPrintable

Details

    Description

      I use MemcachedClient API in mc_bin_client.py under testrunner/lib. Since build 1758, after deletion of an item, item cas value is NOT set to "0". It increase the cas value by 1

      >>> import sys
      >>> sys.path.append("lib")
      >>> sys.path.append(".")
      >>> import mc_bin_client
      >>> client=mc_bin_client.MemcachedClient("10.5.2.23",11211)
      >>> client.set("chisheng",0,0,"hong")
      (4084912905, 9089085870612819, '')
      >>> client.delete("chisheng")
      (3079997155, 9089085870612820, '')

      Attachments

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

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty