i'm using zookeeper c api like this, i call async get and set watch on it:
zoo_awget(zhandle_, path.c_str(), true, watch_ctx, GetNodeDataCompletion, watch_ctx);
void GetNodeDataCompletion(int rc, const char* value, int value_len,
const struct Stat* stat, const void* data) {
}
my question is: if the GetNodeDataCompletion's rc is ZOPERATIONTIMEOUT or some other errors, does the zookeeper lib guarantee that the watcher wont't be called after that even if zookeeper server may have received the watch request(for example, this is just a client timeout).
thanks.