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

[BP] Lost cleanup blocks gocbcore response callback on client record error

    XMLWordPrintable

Details

    • 1

    Description

      In the case that process returns an error in this block https://github.com/couchbase/gocbcore/blob/master/transactions_lostcleanup.go#L341-L382 then the callback will block for 1 second. This means that the memdclient that is serving that response will be blocked and unable to process any further responses until the callback is released within the next call to perLocation, after the 1 second wait has elapsed.

      This is especially an issue where the same Agent is being used by multiple collections and one or more collections is problematic (auth errors for instance) and the Agent is setup with a kv pool size of 1 (which is the default).

      Attachments

        Issue Links

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

          Activity

            People

              charles.dixon Charles Dixon
              charles.dixon Charles Dixon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty