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

SDK times out http request responses unexpectedly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1
    • library
    • None
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      The SDK uses the timeout as a global timeout for the request and response reading, I believe the response reading deadline is intended to be independent of the request processing phase.

      Attachments

        For Gerrit Dashboard: GOCBC-759
        # Subject Branch Project Status CR V

        Activity

          This actually goes a little wider in scope, as there is a bug in the HTTP request handler where the deadline gets cancelled earlier than it is intended to be (as soon as the function returns).

          brett19 Brett Lawson added a comment - This actually goes a little wider in scope, as there is a bug in the HTTP request handler where the deadline gets cancelled earlier than it is intended to be (as soon as the function returns).

          Build couchbase-server-7.0.0-1318 contains gocbcore commit 5f6bf0c with commit message:
          GOCBC-759: Prevent context cancel from closing active connections

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1318 contains gocbcore commit 5f6bf0c with commit message: GOCBC-759 : Prevent context cancel from closing active connections

          Build couchbase-server-6.6.0-7624 contains gocbcore commit 5f6bf0c with commit message:
          GOCBC-759: Prevent context cancel from closing active connections

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit 5f6bf0c with commit message: GOCBC-759 : Prevent context cancel from closing active connections

          Build sync_gateway-3.0.0-52 contains gocbcore commit 5f6bf0c with commit message:
          GOCBC-759: Prevent context cancel from closing active connections

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 5f6bf0c with commit message: GOCBC-759 : Prevent context cancel from closing active connections

          People

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