-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Track PooledConnection state explicitly #189
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #189 +/- ##
==========================================
+ Coverage 72.47% 72.51% +0.04%
==========================================
Files 6 6
Lines 534 553 +19
==========================================
+ Hits 387 401 +14
- Misses 147 152 +5 ☔ View full report in Codecov by Sentry. |
0dca340 caused a regression where the library would update the pool state to mark a connection as lost because we disconnected the underlying connection from the `PooledConnection`. Instead, add a `state` field to `PooledConnection` that tracks the state of the `conn` field, so we can do the right thing on drop.
Merged and published this proactively to make this easy to consume and since I'm pretty sure it addresses a regression from 0.8.2. Still happy to address any feedback anyone might have! |
To get djc/bb8#186 and djc/bb8#189
To get djc/bb8#186 and djc/bb8#189 which fix potential deadlocks (djc/bb8#154)
To get djc/bb8#186 and djc/bb8#189 which fix potential deadlocks (djc/bb8#154)
To get djc/bb8#186 and djc/bb8#189 which fix potential deadlocks (djc/bb8#154). Also, this (djc/bb8#225) was needed to prevent a connection leak which was conveniently spotted in our integration tests.
* Update bb8 to 0.8.6 To get djc/bb8#186 and djc/bb8#189 which fix potential deadlocks (djc/bb8#154). Also, this (djc/bb8#225) was needed to prevent a connection leak which was conveniently spotted in our integration tests. * Ignore ./.bundle (created by dev console) --------- Co-authored-by: Jose Fernandez (magec) <joseferper@gmail.com>
No description provided.