zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] eolivelli commented on a change in pull request #851: ZOOKEEPER-3311: Allow a delay to the transaction log flush
Date Thu, 14 Mar 2019 19:41:22 GMT
eolivelli commented on a change in pull request #851: ZOOKEEPER-3311: Allow a delay to the
transaction log flush
URL: https://github.com/apache/zookeeper/pull/851#discussion_r265735662
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
 ##########
 @@ -145,6 +145,10 @@
     private ZooKeeperServerShutdownHandler zkShutdownHandler;
     private volatile int createSessionTrackerServerId = 1;
 
+    private static volatile long flushDelay = Long.getLong("zookeeper.flushDelay", 0);
 
 Review comment:
   Can we have these variables as instance variables?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message