Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-150

add a distinct ResponseStatus for BUSY

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.1.1
    • 1.1.0
    • None
    • None

    Description

      Add a distinct ResponseStatus for ERR_BUSY, so that some operations that are already a bit unclear in their result don't have further ambiguity when the server is actually busy.

      For example, getAndLock and unlock will respond ERR_TEMPFAIL if the object is already locked or when attempting to unlock with wrong CAS. This should be mapped to a CASMismatchException in the client, whereas distinguishable error like ERR_BUSY should be mapped to a TemporaryFailureException.

      (see MB-13087)

      Attachments

        Issue Links

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

          Activity

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              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