Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have seen goroutines stuck at: select github.com/gocql/gocql.(*Conn).closeWithError /go/pkg/mod/github.com/kiwicom/gocql@v1.8.0/conn.go:569 github.com/gocql/gocql.(*Conn).exec /go/pkg/mod/github.com/kiwicom/gocql@v1.8.0/conn.go:1113 github.com/gocql/gocql.(*Conn).executeQuery /go/pkg/mod/github.com/kiwicom/gocql@v1.8.0/conn.go:1414 semacquire sync.runtime_SemacquireMutex /usr/local/go/src/runtime/sema.go:71 sync.(*Mutex).lockSlow /usr/local/go/src/sync/mutex.go:138 sync.(*Mutex).Lock /usr/local/go/src/sync/mutex.go:81 github.com/gocql/gocql.(*Conn).exec /go/pkg/mod/github.com/kiwicom/gocql@v1.8.0/conn.go:1058 github.com/gocql/gocql.(*Conn).executeQuery /go/pkg/mod/github.com/kiwicom/gocql@v1.8.0/conn.go:1414 github.com/gocql/gocql.(*Query).execute When closeWithError is notifying callReqs about the error, it selects between writing to call.resp or until call.timeout is closed. There were branches leading to return with missing close(call.timeout) calls in exec. When exec returned without either closing call.timeout or reading the call.resp, this left the call without any further progress. closeWithError selected between two conditions that never happened.
Whoa there!
You have triggered an abuse detection mechanism.
Please wait a few minutes before you try again;
in some cases this may take up to an hour.