Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-2880

DCP client doesn't cancel gocbcore open stream op on timeout

    XMLWordPrintable

Details

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

    Description

      When an open stream request times out a timeout error is immediately returned with no other actions taken. Operations in gocbcore return a PendingOp which allows cancellation of the operation. If the operation is not cancelled then it will remain in the system, and could cause unwanted side effects.

      For example if a slow operation is timed out but remains in the system then a response may still come in which will call the registered handler. If this handler ends up blocking for some reason, because nothing is expecting it to be called, then it could block the agent read thread.

      Attachments

        Issue Links

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

          Activity

            People

              The One The One
              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