Hi devs, Currently ZooKeeper::sync() API only has an asynchronous version:
public void sync(String <http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true> path, AsyncCallback.VoidCallback <https://zookeeper.apache.org/doc/r3.5.1-alpha/api/org/apache/zookeeper/AsyncCallback.VoidCallback.html> cb, Object <http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true> ctx) Asynchronous sync. Flushes channel between process and leader. Given that all other existing APIs have both sync and async version, should we also have a synchronous version of the "sync()" API? -- Cheers Michael.
