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

Agent close can hang indefinitely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.0
    • None
    • None
    • None
    • 1

    Description

      When we call agent close from gocb we sometimes see it hang forever. This is down to a race condition between poller controller Done and Start. As start is called in a goroutine we seem to get into a situation where we can end up sitting on the Done signal before Start has assigned an activeController which leads to us sitting on a nil signal forever.

      Attachments

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

        Activity

          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