[
https://issues.apache.org/jira/browse/HIVE-29735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko reassigned HIVE-29735:
-------------------------------------
Assignee: Denys Kuzmenko
> 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
> Assignee: Denys Kuzmenko
> Priority: Major
> Labels: pull-request-available
>
> 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)