zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iv...@apache.org
Subject svn commit: r1599546 - in /zookeeper/bookkeeper/branches/branch-4.2: CHANGES.txt bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java
Date Tue, 03 Jun 2014 13:50:13 GMT
Author: ivank
Date: Tue Jun  3 13:50:12 2014
New Revision: 1599546

URL: http://svn.apache.org/r1599546
Log:
BOOKKEEPER-725: AutoRecoveryMain should exit with error code if deathwatcher finds dead thread
(ivank)

Modified:
    zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
    zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java

Modified: zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt?rev=1599546&r1=1599545&r2=1599546&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt (original)
+++ zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt Tue Jun  3 13:50:12 2014
@@ -40,6 +40,8 @@ Release 4.2.3 - 2013-12-04
 
         BOOKKEEPER-730: Shade pom file missing apache license header (ivank)
 
+        BOOKKEEPER-725: AutoRecoveryMain should exit with error code if deathwatcher finds
dead thread (ivank)
+
     IMPROVEMENT:
 
         BOOKKEEPER-747: Implement register/unregister LedgerMetadataListener in MSLedgerManagerFactory
(fpj via sijie)

Modified: zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java?rev=1599546&r1=1599545&r2=1599546&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java
(original)
+++ zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/AutoRecoveryMain.java
Tue Jun  3 13:50:12 2014
@@ -177,7 +177,7 @@ public class AutoRecoveryMain {
                 // If any one service not running, then shutdown peer.
                 if (!autoRecoveryMain.auditorElector.isRunning()
                     || !autoRecoveryMain.replicationWorker.isRunning()) {
-                    autoRecoveryMain.shutdown();
+                    autoRecoveryMain.shutdown(ExitCode.SERVER_EXCEPTION);
                     break;
                 }
             }



Mime
View raw message