You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "bruceNu1l (via GitHub)" <gi...@apache.org> on 2025/09/28 01:13:44 UTC
[PR] Fix a goroutine leak bug [arrow-adbc]
bruceNu1l opened a new pull request, #3491:
URL: https://github.com/apache/arrow-adbc/pull/3491
**Fixed a Goroutine leak issue.**
When a connection is opened via databaseImpl, the cache clientCache is initialized to manage *flightsql.Client objects. These objects need to be properly released when the connection is closed; otherwise, a Goroutine leak occurs.
Specifically, each time a connection is opened through databaseImpl, 6 Goroutines are created. Under the existing logic, closing the connection releases 3 of these Goroutines, while the remaining 3 associated with the cached client are overlooked, resulting in a Goroutine leak.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: resolve Goroutine leak in database connection close [arrow-adbc]
Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on PR #3491:
URL: https://github.com/apache/arrow-adbc/pull/3491#issuecomment-3373151886
Looks like there's some linting that needs to get fixed before I can merge.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: resolve Goroutine leak in database connection close [arrow-adbc]
Posted by "bruceNu1l (via GitHub)" <gi...@apache.org>.
bruceNu1l commented on PR #3491:
URL: https://github.com/apache/arrow-adbc/pull/3491#issuecomment-3383895602
> Looks like there's some linting that needs to get fixed before I can merge.
Yes, I've fixed the linting issues.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix: resolve Goroutine leak in database connection close [arrow-adbc]
Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #3491:
URL: https://github.com/apache/arrow-adbc/pull/3491
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org