Github user selvaganesang commented on a diff in the pull request: https://github.com/apache/incubator-trafodion/pull/730#discussion_r80617007 --- Diff: core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java --- @@ -1062,6 +1062,14 @@ public void run() { tmID + " regionBytes: [" + regionBytes + "]. Deleting zookeeper region entry. \n exception: " + de); zookeeper.deleteRegionEntry(regionEntry); }// DeserializationException + catch (IOException ioe) { + // It's possible we received a spurious entry from a stale region. + // It's safe to delete the zookeeper entry and wait for any new posts + LOG.warn("TRAF RCOV THREAD:IOException calling txnManager.recoveryRequest. " + "TM: " + + tmID + " regionBytes: [" + regionBytes + + "]. Deleting zookeeper region entry. exception: " + ioe); + zookeeper.deleteRegionEntry(regionEntry); + }// IOException --- End diff -- IOException is more generic. I wonder if it is ok to assume all the IOExceptions are the result of spurious recovery entry.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---