Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-227

SDKs must translate LOCKED status code to existing Errors.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: library
    • Labels:
      None

      Description

      Due to a change in 5.0 server, commands which lock keys or act on a locked key will return a new status code (LOCKED) as opposed to the existing errors (TMPFAIL or KEYEXISTS).  In order to maintain backwards compatibility, the SDKs must translate these new status codes onto the old status codes, depending on the operation (since some returned one code, and some returned the other).

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.1.0-1448 contains gocbcore commit f5db9f1514c8b201642cc75b47db4400b78c5788 with commit message:
          GOCBC-227: Translate LOCKED to TMPFAIL or KEYEXISTS.
          https://github.com/couchbase/gocbcore/commit/f5db9f1514c8b201642cc75b47db4400b78c5788

          Show
          build-team Couchbase Build Team added a comment - Build 5.1.0-1448 contains gocbcore commit f5db9f1514c8b201642cc75b47db4400b78c5788 with commit message: GOCBC-227 : Translate LOCKED to TMPFAIL or KEYEXISTS. https://github.com/couchbase/gocbcore/commit/f5db9f1514c8b201642cc75b47db4400b78c5788
          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.0.1-4738 contains gocbcore commit f5db9f1514c8b201642cc75b47db4400b78c5788 with commit message:
          GOCBC-227: Translate LOCKED to TMPFAIL or KEYEXISTS.
          https://github.com/couchbase/gocbcore/commit/f5db9f1514c8b201642cc75b47db4400b78c5788

          Show
          build-team Couchbase Build Team added a comment - Build 5.0.1-4738 contains gocbcore commit f5db9f1514c8b201642cc75b47db4400b78c5788 with commit message: GOCBC-227 : Translate LOCKED to TMPFAIL or KEYEXISTS. https://github.com/couchbase/gocbcore/commit/f5db9f1514c8b201642cc75b47db4400b78c5788

            People

            • Assignee:
              brett19 Brett Lawson
              Reporter:
              brett19 Brett Lawson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.