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

        avsej Sergey Avseyev created issue -
        avsej Sergey Avseyev made changes -
        Field Original Value New Value
        Fix Version/s 1.1.3 [ 10361 ]
        Fix Version/s 1.2.0.dp6 [ 10351 ]
        Affects Version/s 1.2.0.dp5 [ 10350 ]
        Affects Version/s 1.1.2 [ 10360 ]
        Affects Version/s 1.1.1 [ 10293 ]
        avsej Sergey Avseyev made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        avsej Sergey Avseyev made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 18550 ] Couchbase SDK Workflow [ 44847 ]

          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