[
https://issues.apache.org/jira/browse/HIVE-28500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-28500:
-------------------------------
Component/s: Standalone Metastore
> ObjectStore's alterSchemaVersion should rollback TXN in a finally if it's open
> ------------------------------------------------------------------------------
>
> Key: HIVE-28500
> URL: https://issues.apache.org/jira/browse/HIVE-28500
> Project: Hive
> Issue Type: Improvement
> Components: Standalone Metastore
> Reporter: KIM JI HYE
> Assignee: KIM JI HYE
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.1.0
>
>
> hello
> Only the alterSchemaVersion method of ObjectStore does not perform
> rollbackTranscation() if committed is false in finally.
>
> It is currently set to commitTransaction(), but it seems appropriate to
> change it to rollbackTranscation().
> https://github.com/apache/hive/blob/3f6f940af3f60cc28834268e5d7f5612e3b13c30/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L13372
--
This message was sent by Atlassian Jira
(v8.20.10#820010)