zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r1493377 - in /zookeeper/bookkeeper/trunk: CHANGES.txt bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
Date Sat, 15 Jun 2013 15:08:19 GMT
Author: fpj
Date: Sat Jun 15 15:08:18 2013
New Revision: 1493377

URL: http://svn.apache.org/r1493377
Log:
BOOKKEEPER-627: LedgerDirsMonitor is missing thread name (rakesh via fpj)


Modified:
    zookeeper/bookkeeper/trunk/CHANGES.txt
    zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java

Modified: zookeeper/bookkeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/CHANGES.txt?rev=1493377&r1=1493376&r2=1493377&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/CHANGES.txt (original)
+++ zookeeper/bookkeeper/trunk/CHANGES.txt Sat Jun 15 15:08:18 2013
@@ -90,6 +90,8 @@ Trunk (unreleased changes)
 
       BOOKKEEPER-592: allow application to recommend ledger data locality (sijie via ivank)
 
+      BOOKKEEPER-627: LedgerDirsMonitor is missing thread name (rakesh via fpj)
+
     NEW FEATURE:
 
       BOOKKEEPER-562: Ability to tell if a ledger is closed or not (fpj)

Modified: zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java?rev=1493377&r1=1493376&r2=1493377&view=diff
==============================================================================
--- zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
(original)
+++ zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/LedgerDirsManager.java
Sat Jun 15 15:08:18 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