-
Notifications
You must be signed in to change notification settings - Fork 123
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
Pool::get_conn hangs under contention #65
Comments
Interestingly enough, I still see this with a lot of concurrent connection churn, even after #66. I might take a stab at greatly simplifying the connection pooling tomorrow using an Thoughts @blackbeam ? |
Hi! Well, i have nothing against it, especially if it'll lead to a more stable behavior. Obviously, scalability worth nothing if pool simply hangs. |
The following (new) test case occasionally hangs for me:
It specifically tries to set up contention over the
Pool
(notice that it doesn't actually issue any queries, it just repeatedly "gets" connections and then return them immediately), and it seems like occasionally it hits a deadlock. This may be related to #64, but I'm not sure.The text was updated successfully, but these errors were encountered: