dengzhhu653 commented on code in PR #5661:
URL: https://github.com/apache/hive/pull/5661#discussion_r1973827279
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -677,10 +656,6 @@ public boolean isActiveTransaction() {
*/
@Override
public void rollbackTransaction() {
- if (openTrasactionCalls < 1) {
Review Comment:
yes, we need the rollback in case of `openTrasactionCalls` is 0.
`openTrasactionCalls` is to tell when the transaction should commit, we need
to very take care of `openTrasactionCalls` as it lives through the ObjectStore
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]