Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-404

KV_LOCKED status should be exposed as cas_mismatch for unlock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.0-dp.12
    • None
    • None
    • None

    Description

      Only for unlock operations the 0x09 KV status should be mapped to a cas_mismatch error code. Currently it is always mapped to a document_locked error code.

      From the retry handling RFC:

      • Locked 0x09 (Reason: KV_LOCKED)
        • Note:┬ádo NOT retry on KV_LOCKED for the "Unlock" command (the retry handler should never see it in the first place!( Reason is that this needs to be surfaced as a cas mismatch exception to the user and not being retried

      Attachments

        Issue Links

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

          Activity

            People

              Dimitris.Christodoulou Dimitris Christodoulou
              Dimitris.Christodoulou Dimitris Christodoulou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes