Github user trinakrug commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/559#discussion_r69005404
--- Diff:
core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java
---
@@ -420,14 +399,21 @@ public short abortTransaction(final long
transactionID) throws Exception {
if (useTlog) {
tLog.putSingleRecord(transactionID, -1, "ABORTED",
ts.getParticipatingRegions(), false);
}
- } catch(Exception e) {
- LOG.error("Returning from HBaseTxClient:abortTransaction, txid: "
+ transactionID + " tLog.putRecord: EXCEPTION");
+ } catch(IOException e) {
+ LOG.error("Returning from HBaseTxClient:abortTransaction, txid: "
+ transactionID + " tLog.putRecord: EXCEPTION", e);
return TransReturnCode.RET_EXCEPTION.getShort();
}
if ((stallWhere == 1) || (stallWhere == 3)) {
LOG.info("Stalling in phase 2 for abortTransaction");
- Thread.sleep(300000); // Initially set to run every 5 min
+ boolean loopBack = true;
--- End diff --
Should this be loopBack = false?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---