-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Query hangs when max_size is greater than the current amount of idle connections #113
Comments
First, I'm a little confused by your issue. The title mentions The only code inside the pool implementation which refers to Given that I don't have a ScyllaDB, it would be great if you could try to reproduce this as a test case that doesn't depend on any actual database (you could have a look at how the tests to this). BTW, blocking in your Sorry, I'm not doing very active maintenance on bb8 right now, so I can't offer you much more support, though I'd be happy to review your reproducer and fix it if we do find an issue with the current pool implementation. |
When I said
From what I saw, the library
I think I have, but I'll have to try it again to make sure, its been a few days.
I'll work on making a minimal example that reproduces this error.
Oops, thats left over from when I used r2d2 but then found out that bb8 exists. |
I made a Manager for scylla and it worked great when I had the
max_size
set to the same amount asmin_idle
. Here's my implementation:This is the pool configuration that causes issues (sorry for bad formatting)
The
max_size
andmin_idle
don't need to be that high, it can be set to something as low as3
and2
respectively and the issue still happens.If you need any more information I'll be happy to provide. Thanks in advance!
The text was updated successfully, but these errors were encountered: