What version of MongoDB are you using (mongod --version)?
3.4.9
What version of Go are you using (go version)?
1.11.4
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="darwin"
What did you do?
We started seeing deadlocks which pointed to globalsiogn/mgo driver when we started using listIndexes
Trying the prof dump, lead us to this method which is used in multiple places
Can you reproduce the issue on the latest development branch?
wait
Mutex insocket.SimpleQuery
is never Unlocked. https://github.com/globalsign/mgo/blob/master/socket.go#L408What version of MongoDB are you using (
mongod --version
)?What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
We started seeing deadlocks which pointed to globalsiogn/mgo driver when we started using listIndexes Trying the prof dump, lead us to this method which is used in multiple places
Can you reproduce the issue on the latest
development
branch?We have not tried the
development
branch yet