HonestManXin opened a new pull request, #4518:
URL: https://github.com/apache/hive/pull/4518

   In the HMSHandler.exchange_partitions method, it executes 
RawStore.openTransaction and performs some checks. If these checks fail, an 
exception is thrown without executing commitTransaction or rollbackTransaction. 
This can result in a leakage of the underlying database connection, as it is 
not returned to the thread pool. Consequently, all threads may be blocked at 
the point of obtaining a connection from the connection pool.  
   
   We should place all operations that come after RawStore.openTransaction 
inside a try-finally block.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to