Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.2, 1.2.0.dp5
    • Fix Version/s: 1.1.3, 1.2.0.dp6
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      The Bucket#cas operation resets flags

      > Couchbase.bucket.set("foo", "bar", :flags => 0x100)
      17982951084586893312
      > Couchbase.bucket.cas("foo")

      { "baz" }

      1712422461213442048
      > Couchbase.bucket.get("foo", :extended => true)
      ["baz", 0, 1712422461213442048]

      So it could be dangerous if someone using custom flags or non-default value encoding (not :document)

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            avsej Sergey Avseyev
            Reporter:
            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