Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-37

Cas Mutate allows Decrement/Increment with invalid Cas value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 1.2.0
    • 1.0, 1.2 DP, 1.1
    • None
    • None

    Description

      var key = "foo" + DateTime.Now.Ticks;
      var decrementResult = client.Decrement(key, 100, 10);
      var casResult = client.GetWithCas(key);
      var result = client.Decrement(key, 100, 10, cas.Cas - 1);

      The Decrement/Increment operation will succeed, even though the Cas value was not valid for that key.

      Attachments

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

        Activity

          People

            john John Zablocki (Inactive)
            john John Zablocki (Inactive)
            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