🎯 Prevent Connection Leak to Pool on Context Cancellation during BeginTx() - #6
Closed
wasim-builds wants to merge 1 commit into
Closed
🎯 Prevent Connection Leak to Pool on Context Cancellation during BeginTx()#6wasim-builds wants to merge 1 commit into
wasim-builds wants to merge 1 commit into
Conversation
Author
|
Hey! Just checking in on this — the BeginTx connection leak fix is ready. It resyncs the pool on context cancellation to prevent dangling connections. Let me know if you'd like any changes. Thanks for reviewing! |
Author
|
Hi, just pinging on this PR. The fix addresses the connection state mismatch issue described in #2 — when context cancels mid-BeginTx, the connection now properly resets before returning to pool. Happy to make any adjustments! |
Author
|
Closing as duplicate of #10 — keeping the most recent fix for the BeginTx connection leak. Thanks for reviewing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2
Applies the Autonomous Bounty Patch to fix the connection leak on context cancellation during BeginTx().