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

Denys Kuzmenko commented on HIVE-28500:
---------------------------------------

Merged to master
Thanks for the fix, [~kimjye-dev]!

> 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
>            Reporter: KIM JI HYE
>            Priority: Major
>              Labels: pull-request-available
>
> 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)

Reply via email to