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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to