zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] jhuan31 commented on a change in pull request #855: ZOOKEEPER-3310: Add metrics for prep processor
Date Mon, 18 Mar 2019 21:18:03 GMT
jhuan31 commented on a change in pull request #855: ZOOKEEPER-3310: Add metrics for prep processor
URL: https://github.com/apache/zookeeper/pull/855#discussion_r266645839
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/ZooKeeperServer.java
 ##########
 @@ -231,6 +231,14 @@ public ZooKeeperServer(FileTxnSnapLog txnLogFactory, int tickTime)
         this(txnLogFactory, tickTime, -1, -1, -1, new ZKDatabase(txnLogFactory));
     }
 
+    public Deque<ChangeRecord> getOutstandingChanges() {
+        return outstandingChanges;
 
 Review comment:
   I've changed the unit test so it doesn't need the getter anymore. So this field stays as
is. Alos reverted the code to access the field directly (which is not nice) instead of calling
the getter

----------------------------------------------------------------
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