Github user mkedwards commented on the issue:
https://github.com/apache/zookeeper/pull/707
Whoops, just pushed some unrelated stuff to this branch. The code state
that fixes just ZOOKEEPER-2778 is
https://github.com/apache/zookeeper/pull/707/commits/bbeeebf87391ef642059c4b3b65592c361a2ab4e---
