-
Notifications
You must be signed in to change notification settings - Fork 645
Open
Description
Please answer these questions before submitting your issue. Thanks!
What version of Cassandra are you using?
4.1.3 or 5.0
What version of Gocql are you using?
1.6.0
What version of Go are you using?
1.21.1
What did you do?
- I start local cassandra in docker with
docker run --rm --name=cassandra -p 9042:9042 cassandra:4.1.3
- I run this program - https://github.com/isopov/gocqltest/blob/main/main.go
What did you expect to see?
I expect the program to finish successfully.
What did you see instead?
I see errors
gocql: no hosts available in the pool
gocql: no streams available on connection
gocql: no hosts available in the pool
gocql: no streams available on connection
gocql: no hosts available in the pool
gocql: no hosts available in the pool
or
gocql: no hosts available in the pool
gocql: no hosts available in the pool
Note: changing workers
const to 50_000 allows the program to finish gracefully (increasing queries
const is possible also - program will work minutes instead of seconds but still will finish gracefully with 50_000 workers)
Metadata
Metadata
Assignees
Labels
No labels