Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocql: no hosts available in the pool" cannot recover without restart #163

Closed
maverick-ai opened this issue Apr 5, 2024 · 4 comments
Closed

Comments

@maverick-ai
Copy link

We are using the latest docker of Scylla and running it as a single instance of Scylla inside docker container. We are using scylla version of gocql in our app. What we noticed is that after some days the driver disconnects from the database and it is not to reconnect connect to database. This is also an open issue in Gocql (apache#915). The only solution is to restart the application. This issue also propogates to Scylla version of gocql.

Gocql 1.13
Go 1.22.0

@mykaul
Copy link

mykaul commented Apr 7, 2024

Logs from both sides (driver and node) are critically needed to understand this issue.

@Rikkuru
Copy link

Rikkuru commented May 23, 2024

apache#915 (comment)

I had this probled and it turned out to be a config problem

@mykaul
Copy link

mykaul commented May 23, 2024

Thanks @Rikkuru - anything we should improve in our documentation? Closing this for the time being.

@mykaul mykaul closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
@Rikkuru
Copy link

Rikkuru commented May 23, 2024

anything we should improve in our documentation?
No. Some kind of warning in lo (without debug build) could have helped me to figure it out sooner in this case but I would let gocql maintainers decide if it is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants