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

SDK leaves goroutines running after closing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.6, 1.4.0-beta
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      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

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.1.2-6014 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.2-6014 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.0.0-1411 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.0-1411 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.1.1-5904 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.1-5904 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.5.0-1143 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1143 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.1-3505 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.1-3505 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.2-3704 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.2-3704 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.6.0-2 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-2 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.5.1-8 contains gocbcore commit a6d2cef with commit message:
          GOCBC-331: Add internal shutdown notifications.

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.5.1-8 contains gocbcore commit a6d2cef with commit message: GOCBC-331 : Add internal shutdown notifications.

            People

            • Assignee:
              brett19 Brett Lawson
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.