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

Store methods behaves inconsistently when persistence constraints specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.1
    • 1.2.0
    • None
    • Security Level: Public
    • None
    • Release Note

    Description

      The Bucket#set for example should return the object corresponding to arguments passed:

      1.9.3p327 (main):002:0> conn.set("foo", "bar")
      851339802448297984
      1.9.3p327 (main):003:0> conn.set("foo" => "bar", "baz" => "foo")

      {"foo"=>2995536636664938496, "baz"=>16831440216388861952}

      But when :observe option is used, it always return it like for multi-set

      1.9.3p327 (main):004:0> conn.set("foo", "bar", :observe => {:persisted => 1})

      {"foo"=>2559248876759744512}

      Attachments

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

        Activity

          People

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