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)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.2.0
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      * 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.

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

        Activity

        Show
        trond Trond Norbye added a comment - http://review.couchbase.org/#/c/29246/1

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            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