Zhihua Deng created HIVE-28788:
----------------------------------
Summary: 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
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)