Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-981

After unlocking the document, the CAS value is different from the value it had when the document was locked.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • None
    • None
    • 0
    • High

    Description

      Test testPessimisticLockingWorkflow in KeyValueLockingTest.php(in PHP test suite) is failing on 7.6 when After unlocking the document, the CAS value is different from the value it had when the document was locked, noting no mutations were performed in-between. 

      Key Value Locking
       ✘ Pessimistic locking workflow
         ┐
         ├ Failed asserting that two strings are equal.
         ┊ ---·Expected
         ┊ +++·Actual
         ┊ @@ @@
         ┊ -'17bbf36aca9c0000'
         ┊ +'17bbf36ab2d20000'
         │
         ╵ /Users/saurabhmishra/Desktop/work/gerrit/FIT/couchbase-php-client/tests/KeyValueLockingTest.php:57
         ┴
      We are good till here 1We are good till here 117bbf36aca9c0000
      17bbf36ab2d20000
       ✔ Unlocking unlocked document throws doc not locked 

      Test is passing on other server versions. 

      Attachments

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

        Activity

          People

            saurabh.mishra Saurabh Mishra
            saurabh.mishra Saurabh Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty