GitHub user Randgalt opened a pull request:
https://github.com/apache/curator/pull/202
[CURATOR-391] Cannot use only Stat version to determine node change
Using only Stat version to note node change (for UPDATE event) is not
enough. In a split brain if a node delete plus a recreate is missed, the Stat
version can appear to be the same. So, when data is available in the cache,
compare the data not the stat version
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/curator CURATOR-391
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/202.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #202
----
commit 127efd5ee1fc186b5027717119c953c85267f506
Author: randgalt <[email protected]>
Date: 2017-03-09T17:50:11Z
Using only Stat version to note node change (for UPDATE event) is not
enough. In a split brain if a node delete plus a recreate is missed, the Stat
version can appear to be the same. So, when data is available in the cache,
compare the data not the stat version
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---