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

cmd trace can be ended twice

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • core-10.0.0
    • None
    • None
    • 1

    Description

      It's possible for a request cancel to race with a response completion. When this happens there is a gap on the memdclient side between releasing the request lock and setting request completion to 1. The same is effectively true for the opposite also, after we have handled cancelling a request we can continue handling it as an error case in the memdclient. The effect of this is that we end up cancelling the net and cmd traces twice.

      Attachments

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

        Activity

          Build sync_gateway-3.0.0-273 contains gocbcore commit 43d2ffb with commit message:
          GOCBC-1135: Set net and cmd spans to nil on req cancellation

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-273 contains gocbcore commit 43d2ffb with commit message: GOCBC-1135 : Set net and cmd spans to nil on req cancellation

          People

            charles.dixon Charles Dixon
            charles.dixon Charles Dixon
            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