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:
[email protected]
With regards,
Apache Git Services