[ https://issues.apache.org/jira/browse/HIVE-28500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denys Kuzmenko updated HIVE-28500: ---------------------------------- Summary: ObjectStore's alterSchemaVersion should rollback TXN in a finally if it's open (was: fix: alterSchemaVersion) > 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)