[ 
https://issues.apache.org/jira/browse/HIVE-28788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939197#comment-17939197
 ] 

Zhihua Deng commented on HIVE-28788:
------------------------------------

Thank you [~dkuzmenko] and [~zabetak] for the review. Let's address the 
secondary leaking on HIVE-28839. 

> 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
>             Fix For: 4.1.0
>
>
> 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(after 2s) or the client closes the 
> connection, leading to the connection starvation during that time.
>  



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

Reply via email to