the ordering of async and sync requests

2012-06-19 Thread Michi Mutsuzaki
If the user calls an async request followed by a sync request, does the zookeeper client guarantee that the sync request won't return until the async request callback is invoked? The C client seems to let the sync request return first if the sync request was sent from the watch triggered by the

Re: the ordering of async and sync requests

2012-06-19 Thread Patrick Hunt
On Mon, Jun 18, 2012 at 11:01 PM, Michi Mutsuzaki mi...@cs.stanford.edu wrote: If the user calls an async request followed by a sync request, does the zookeeper client guarantee that the sync request won't return until the async request callback is invoked? The C client seems to let the sync