I think "version" and "mzxid" should be equally reliable for determining
that the contents changed.  Whenever a change happens the version gets
incremented while the mzxid gets set to the associated zk transaction id.
So I don't see a problem with ifVersion == data.getStat().getVersion() but
I haven't looked through all the PathChildrenCache code in a while, was
there something else you were referring to going on in there?

On Sun, Mar 12, 2017 at 1:23 PM, Jordan Zimmerman <
[email protected]> wrote:

> I'm working on CURATOR-391 and notice that TreeCache uses Mzxid to
> determine if a ZNode has changed. PathChildrenCache uses a less reliable
> method. I _think_ that Mzxid is enough. Does everyone else agree?
>
> -Jordan

Reply via email to