Details
-
Bug
-
Resolution: Fixed
-
Major
-
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
For Gerrit Dashboard: GOCBC-859 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125992,3 | GOCBC-859: Check if channel is nil calling poller controller Done. | master | gocbcore | Status: MERGED | +2 | +1 |
138470,4 | Update agent_diag.go | master | gocbcore | Status: ABANDONED | -1 | 0 |