Github user hanm commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/628#discussion_r221416362
--- Diff: src/java/main/org/apache/zookeeper/server/quorum/Follower.java ---
@@ -196,6 +224,10 @@ protected long getLastQueued() {
return lastQueued;
}
+ public Integer getSyncedObserverSize() {
+ return om == null ? null : om.getNumActiveObservers();
--- End diff --
making sense to me. I think current approach is good.---
