-
Notifications
You must be signed in to change notification settings - Fork 470
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
ConnectionPools in async code appear to be broken in 6.1.0 #994
Comments
When attempting to execute a query, 6.1.0 will return the error "ConnectionError Cannot call write after a stream was destroyed" Later queries in the same application instance will return the error "RequestError: No connection is specified for that request." My assumption is that the ConnectionPool is being closed erroneously immediately, leading to the first error, and being garbage collected shortly after, causing the second. Rolling back to 6.0.1, however, still works as intended. |
Hmmm, that's strange, that code looks like it should be fine, there's no code closing the pool, so I'm not sure how you're getting errors. |
This looks like a duplicate of #993 |
It was, thank you. |
This is precisely the kind of code that was broken in the update due to this change. I believe this should be listed as either a known bug or as a deliberately deprecated functionality.
I might write bad code, but it's bad code that worked in 6.0.1.
Originally posted by @Jack-CHS-PWD in #941 (comment)
The text was updated successfully, but these errors were encountered: