Sorry!! we can set the watch while reading itself. On 12 Jun 2014, at 08:43 pm, Mudit Verma <[email protected]> wrote:
> I don’t think your solution will work. For example, somebody might change the > data between you reading the data again for comparision and you setting the > watch. You just can not gaurantee no operation will occur between reading and > setting the watch, unless you use transactions (so that reading and setting > the watch both go atomically). > > Also, in your solution, I will have to keep the previous data for all znodes > (where I want watches). That’s like replicated everything locally as well. > > On 12 Jun 2014, at 07:35 pm, Flavio Junqueira <[email protected]> > wrote: > >> >
