zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grigory Dzhavadyan <grigory.javad...@gmail.com>
Subject Generating Events With Incorrect types
Date Fri, 08 Jun 2012 21:15:38 GMT

I'm using the Zookeeper C API to set a watch on a non-existent node
using the `zoo_wexists' function.

When I create that node, I'm expecting the event handler to be called
with `type' equal to `ZOO_CREATED_EVENT'. However, instead it's being
called with type equal to `ZOO_CHANGED_EVENT'. Why is that so and what
should I do to receive the correct type in the event handler?

View raw message