Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-151

incr/decr do not return cas when :extended => true passed in, cas always null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3.4
    • 1.3.3
    • docs, library
    • Security Level: Public
    • None

    Description

      I tried this on 1.3.3, but it might be broken in earlier releases as well....

      docs say this syntax:
      val, cas = c.incr("foo", :extended => true)

      what I tried:
      client.set(key, 100)
      doc, cas = client.incr(key, :extended => true)
      doc, cas = client.incr(key, 5, :extended => true)
      doc, cas = client.incr(key, {:delta => 5, :extended => true})

      doc, cas = client.decr(key, :extended => true)
      doc, cas = client.decr(key, 5, :extended => true)
      doc, cas = client.decr(key, {:delta => 5, :extended => true})

      cas is always null in all 6 tests

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            scalabl3 scalabl3
            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