zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iv...@apache.org
Subject svn commit: r1521657 - in /zookeeper/bookkeeper/branches/branch-4.2: CHANGES.txt bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
Date Tue, 10 Sep 2013 21:35:00 GMT
Author: ivank
Date: Tue Sep 10 21:35:00 2013
New Revision: 1521657

URL: http://svn.apache.org/r1521657
Log:
BOOKKEEPER-627: LedgerDirsMonitor is missing thread name (rakeshr via ivank)

Modified:
    zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
    zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.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=1521657&r1=1521656&r2=1521657&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt (original)
+++ zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt Tue Sep 10 21:35:00 2013
@@ -80,6 +80,8 @@ Release 4.2.2 - Unreleased
 
         BOOKKEEPER-675: Log noise fixup before cutting 4.2.2 (ivank)
 
+        BOOKKEEPER-627: LedgerDirsMonitor is missing thread name (rakeshr via ivank)
+
       hedwig-server:
 
         BOOKKEEPER-579: TestSubAfterCloseSub was put in a wrong package (sijie via ivank)

Modified: zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java?rev=1521657&r1=1521656&r2=1521657&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
(original)
+++ zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
Tue Sep 10 21:35:00 2013
@@ -173,9 +173,10 @@ public class LedgerDirsManager {
      * Thread to monitor the disk space periodically.
      */
     private class LedgerDirsMonitor extends Thread {
-        int interval;
+        private final int interval;
 
         public LedgerDirsMonitor(int interval) {
+            super("LedgerDirsMonitorThread");
             this.interval = interval;
         }
 
@@ -220,6 +221,7 @@ public class LedgerDirsManager {
                     listener.fatalError();
                 }
             }
+            LOG.info("LedgerDirsMonitorThread exited!");
         }
     }
 



Mime
View raw message