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

Denys Kuzmenko updated HIVE-29735:
----------------------------------
    Fix Version/s: 4.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Denys Kuzmenko
>            Assignee: Denys Kuzmenko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>
> 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