commit | 83466dc45b224ba2cf4dc15a1066fb8fb7cba10b | [log] [tgz] |
---|---|---|
author | salsubaiee <salsubaiee@gmail.com> | Fri Aug 16 17:27:44 2013 -0700 |
committer | salsubaiee <salsubaiee@gmail.com> | Fri Aug 16 17:27:44 2013 -0700 |
tree | 1b331fbeedd695f253d7b53168a4edd970b9921c | |
parent | 85b89ef9436fb7d6bfa3045fcee0b04411e22e60 [diff] |
Make sure the num of active ops is not decremented for job-level commits.
diff --git a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java index 2d94df6..59ffe5b 100644 --- a/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java +++ b/asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/service/transaction/TransactionContext.java
@@ -108,7 +108,7 @@ try { if (isJobLevelCommit && exlusiveJobLevelCommit) { primaryIndexOpTracker.exclusiveJobCommitted(); - } else { + } else if (!isJobLevelCommit){ primaryIndexOpTracker .completeOperation(null, LSMOperationType.MODIFICATION, null, primaryIndexCallback); }