Hari Sankar Sivarama Subramaniyan created HIVE-8786:
-------------------------------------------------------

             Summary: ObjectStore.rollbackTransaction()  should decrement 
openTrasactionCalls and not set it to 0
                 Key: HIVE-8786
                 URL: https://issues.apache.org/jira/browse/HIVE-8786
             Project: Hive
          Issue Type: Bug
            Reporter: Hari Sankar Sivarama Subramaniyan
            Assignee: Hari Sankar Sivarama Subramaniyan


In ObjectStore.java,
{noformat}
 public void rollbackTransaction() {
    if (openTrasactionCalls < 1) {
      debugLog("rolling back transaction: no open transactions: " + 
openTrasactionCalls);
      return;
    }
    openTrasactionCalls = 0;
{noformat}

I think the above code should be changes to openTrasactionCalls--; instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to