Skip to content

Conversation

@davidmartos96
Copy link
Contributor

Recently, after updating to Dart 3.7 I started noticing the following error. I haven't been able to try lowering the Dart version, but I did try a possible patch in the library that makes it work.
My understanding is that the pool is picking a connection that is closed or closing, so it will fail when trying to use it. I've tried deploying this fix in the server as it seemed low risk and I haven't seen the error since.
Deployed postgres from pub again and they start showing up again.

image

image

image

@davidmartos96
Copy link
Contributor Author

The error appears to be random, and the server is serving multiple requests in between the error timestamps. Same environment as the one described in #414
Could it be the same original issue, manifested in a different way?

Requests, even the failed ones, are resolved in a timely manner though:

image

@davidmartos96 davidmartos96 force-pushed the dont_select_closed_conn branch from bd45740 to 7b5c1e1 Compare February 21, 2025 10:29
@isoos isoos merged commit 31df6ab into isoos:master Feb 21, 2025
1 check passed
@isoos
Copy link
Owner

isoos commented Feb 21, 2025

Thank you! Published as 3.5.3.

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

Successfully merging this pull request may close these issues.

2 participants