Browse Source

ZOOKEEPER-597. ASyncHammerTest is failing intermittently on hudson trunk (take 3) (phunt via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@886655 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 15 năm trước cách đây
mục cha
commit
1feeef9959

+ 3 - 0
CHANGES.txt

@@ -142,6 +142,9 @@ BUGFIXES:
   ZOOKEEPER-597. ASyncHammerTest is failing intermittently on hudson trunk (take 2)
   (breed)
 
+  ZOOKEEPER-597. ASyncHammerTest is failing intermittently on hudson trunk
+  (take 3) (phunt via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "socket reuse" and failure to close client (phunt via mahadev)

+ 2 - 0
src/java/main/org/apache/zookeeper/server/quorum/CommitProcessor.java

@@ -142,6 +142,8 @@ public class CommitProcessor extends Thread implements RequestProcessor {
             }
         } catch (InterruptedException e) {
             LOG.warn("Interrupted exception while waiting", e);
+        } catch (Throwable e) {
+            LOG.error("Unexpected exception causing CommitProcessor to exit", e);
         }
         LOG.info("CommitProcessor exited loop!");
     }