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

SDK leaves goroutines running after closing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.4.0
    • 1.3.6, 1.4.0-beta
    • None
    • None
    • 1

    Description

      When calling the `Close` method on an agent, it does not wait for the shut down to be completed.  For a short period of time, a number of goroutines and sockets are still open, this makes it difficult to accurately determine if there are any leaks occurring in the SDK.  We should block on Close waiting for the SDK to completely shut down, and all goroutines should watch for the client shutting down so they may react immediately.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            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