[
https://issues.apache.org/jira/browse/HIVE-28788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-28788:
----------------------------------
Labels: pull-request-available (was: )
> ObjectStore failed to commit the transaction could lead to connection
> starvation
> --------------------------------------------------------------------------------
>
> Key: HIVE-28788
> URL: https://issues.apache.org/jira/browse/HIVE-28788
> Project: Hive
> Issue Type: Bug
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Major
> Labels: pull-request-available
>
> If there is an exception on committing the transaction,
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L658,]
> the ObjectStore will skip the transaction rollback, as the
> openTrasactionCalls is 0, the current transaction might be alive until the
> RetryingHMSHandler retries the operation successfully or the client closes
> the connection, leading to the connection starvation during that time,
> especially for the ObjectStore secondary pool, which has a size of 2.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)