bookkeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject bookkeeper git commit: BOOKKEEPER-909: ZooKeeper of LocalBookkeeper should use the correct tickTime
Date Thu, 31 Mar 2016 20:54:44 GMT
Repository: bookkeeper
Updated Branches:
  refs/heads/master a13d75d7e -> e32c38890


BOOKKEEPER-909: ZooKeeper of LocalBookkeeper should use the correct tickTime

Reviewers: Matteo Merli <mmerli@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/bookkeeper/repo
Commit: http://git-wip-us.apache.org/repos/asf/bookkeeper/commit/e32c3889
Tree: http://git-wip-us.apache.org/repos/asf/bookkeeper/tree/e32c3889
Diff: http://git-wip-us.apache.org/repos/asf/bookkeeper/diff/e32c3889

Branch: refs/heads/master
Commit: e32c38890ffbd0291e24e2b3f2625374b27f1f67
Parents: a13d75d
Author: Arun M. Krishnakumar <akrishnakumar@salesforce.com>
Authored: Thu Mar 31 13:51:45 2016 -0700
Committer: Matteo Merli <mmerli@apache.org>
Committed: Thu Mar 31 13:53:30 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bookkeeper/blob/e32c3889/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
----------------------------------------------------------------------
diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
index fb0064a..7d88c0b 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/LocalBookKeeper.java
@@ -88,7 +88,7 @@ public class LocalBookKeeper {
         ZkTmpDir = IOUtils.createTempDir("zookeeper", "localbookkeeper");
 
         try {
-            zks = new ZooKeeperServer(ZkTmpDir, ZkTmpDir, ZooKeeperDefaultPort);
+            zks = new ZooKeeperServer(ZkTmpDir, ZkTmpDir, ZooKeeperServer.DEFAULT_TICK_TIME);
             serverFactory =  new NIOServerCnxnFactory();
             serverFactory.configure(new InetSocketAddress(ZooKeeperDefaultPort), maxCC);
             serverFactory.startup(zks);


Mime
View raw message