This is now merged on trunk and on the 3.5 branch of ZooKeeper: https://issues.apache.org/jira/browse/ZOOKEEPER-2163 (see https://github.com/apache/zookeeper/commit/48f0269f3539a1afddf39d66a1c25c37653390aa). It might be backported for the upcoming 3.4.7 release too, so it would be nice to support it.
This is now merged on trunk and on the 3.5 branch of ZooKeeper: https://issues.apache.org/jira/browse/ZOOKEEPER-2163 (see apache/zookeeper@48f0269).
It might be backported for the upcoming 3.4.7 release too, so it would be nice to support it.