Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-77

The client uses the same error code for server's and its own OOM errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • Security Level: Public
    • None

    Description

      The function libcouchbase_error_t map_error(protocol_binary_response_status) which maps protocol error codes to client's:
      https://github.com/couchbase/libcouchbase/blob/master/src/handler.c#L38

      One of the cases when the client returns the same error code when it cannot allocate memory:
      https://github.com/couchbase/libcouchbase/blob/master/src/handler.c#L128

      Attachments

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

        Activity

          People

            trond Trond Norbye
            avsej Sergey Avseyev
            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