zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r1594745 - in /zookeeper/bookkeeper/branches/branch-4.2: CHANGES.txt bookkeeper-server/conf/bk_server.conf bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java
Date Wed, 14 May 2014 22:43:34 GMT
Author: fpj
Date: Wed May 14 22:43:33 2014
New Revision: 1594745

URL: http://svn.apache.org/r1594745
Log:
BOOKKEEPER-755: Incorrect number of seconds specified in a day (Joseph Redfern via fpj)


Modified:
    zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt
    zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/conf/bk_server.conf
    zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.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=1594745&r1=1594744&r2=1594745&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt (original)
+++ zookeeper/bookkeeper/branches/branch-4.2/CHANGES.txt Wed May 14 22:43:33 2014
@@ -26,6 +26,8 @@ Release 4.2.3 - 2013-12-04
 
         BOOKKEEPER-744: Run the auditor bookie check periodically (ivank)
 
+	BOOKKEEPER-755: Incorrect number of seconds specified in a day (Joseph Redfern via fpj)
+
     IMPROVEMENT:
 
         BOOKKEEPER-747: Implement register/unregister LedgerMetadataListener in MSLedgerManagerFactory
(fpj via sijie)

Modified: zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/conf/bk_server.conf
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/conf/bk_server.conf?rev=1594745&r1=1594744&r2=1594745&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/conf/bk_server.conf (original)
+++ zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/conf/bk_server.conf Wed May
14 22:43:33 2014
@@ -221,4 +221,4 @@ zkTimeout=10000
 # Setting this to 0 disabled the periodic check. Bookie checks will still
 # run when a bookie fails.
 # The interval is specified in seconds.
-#auditorPeriodicBookieCheckInterval=84600
+#auditorPeriodicBookieCheckInterval=86400

Modified: zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java
URL: http://svn.apache.org/viewvc/zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java?rev=1594745&r1=1594744&r2=1594745&view=diff
==============================================================================
--- zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java
(original)
+++ zookeeper/bookkeeper/branches/branch-4.2/bookkeeper-server/src/main/java/org/apache/bookkeeper/conf/ServerConfiguration.java
Wed May 14 22:43:33 2014
@@ -753,10 +753,10 @@ public class ServerConfiguration extends
     /**
      * Get the interval between auditor bookie check runs.
      * @see #setAuditorPeriodicBookieCheckInterval(long)
-     * @return the interval between bookie check runs, in seconds. Default is 84600 (= 1
day)
+     * @return the interval between bookie check runs, in seconds. Default is 86400 (= 1
day)
      */
     public long getAuditorPeriodicBookieCheckInterval() {
-        return getLong(AUDITOR_PERIODIC_BOOKIE_CHECK_INTERVAL, 84600);
+        return getLong(AUDITOR_PERIODIC_BOOKIE_CHECK_INTERVAL, 86400);
     }
 
     /**



Mime
View raw message