Skip to content

🎯 Prevent Connection Leak to Pool on Context Cancellation during BeginTx() - #6

Closed
wasim-builds wants to merge 1 commit into
raimeecas:mainfrom
wasim-builds:fix-begintx-leak
Closed

🎯 Prevent Connection Leak to Pool on Context Cancellation during BeginTx()#6
wasim-builds wants to merge 1 commit into
raimeecas:mainfrom
wasim-builds:fix-begintx-leak

Conversation

@wasim-builds

Copy link
Copy Markdown

Fixes #2

Applies the Autonomous Bounty Patch to fix the connection leak on context cancellation during BeginTx().

@wasim-builds

Copy link
Copy Markdown
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!

@wasim-builds

Copy link
Copy Markdown
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!

@wasim-builds

Copy link
Copy Markdown
Author

Closing as duplicate of #10 — keeping the most recent fix for the BeginTx connection leak. Thanks for reviewing!

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.

🎯 Prevent Connection Leak to Pool on Context Cancellation during BeginTx()

1 participant