Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-251

decrement() fails when using a prefix key (Couchbase::OPT_PREFIX_KEY)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.0
    • 1.1.5
    • library
    • Security Level: Public
    • None
    • * PHP Client library version 1.1.5 (with C library libcouchbase2-libevent-2.1.3-2402) running on Ubuntu 12.04.2 LTS (AWS EC2 instance)
      * Couchbase cluster server version 2.0.1 community edition (build-170) (separate AWS EC2 instances)

    Description

      Decrementing a key (with decrement()) from 1 to 0 while using OPT_PREFIX_KEY option fails.
      The same without using OPT_PREFIX_KEY is successful.
      Test case included.

      Attachments

        For Gerrit Dashboard: PCBC-251
        # Subject Branch Project Status CR V

        Activity

          People

            trond Trond Norbye
            gglachant_bulkypix Gabriel Glachant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty