[ 
https://issues.apache.org/jira/browse/HIVE-29735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denys Kuzmenko updated HIVE-29735:
----------------------------------
    Description: If the AUX_TABLE update in 
TxnStoreMutex.LockHandleImpl.releaseLocks(Long) fails with a 
DataAccessException (e.g. MySQL closed an idle connection via wait_timeout 
while the mutex was held across a long compaction Initiator cycle), the 
exception is caught and only logged -  the transaction opened in acquireLock() 
is neither committed nor rolled back, and the connection is never released back 
to the pool.       

> TxnStoreMutex.releaseLocks does not release the connection on failure
> ---------------------------------------------------------------------
>
>                 Key: HIVE-29735
>                 URL: https://issues.apache.org/jira/browse/HIVE-29735
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore, Transactions
>            Reporter: Denys Kuzmenko
>            Priority: Major
>
> If the AUX_TABLE update in TxnStoreMutex.LockHandleImpl.releaseLocks(Long) 
> fails with a DataAccessException (e.g. MySQL closed an idle connection via 
> wait_timeout while the mutex was held across a long compaction Initiator 
> cycle), the exception is caught and only logged -  the transaction opened in 
> acquireLock() is neither committed nor rolled back, and the connection is 
> never released back to the pool.       



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to