GitHub user lvfangmin opened a pull request:
https://github.com/apache/zookeeper/pull/622
[ZOOKEEPER-3145] Potential watch missing issue due to stale pzxid when
replaying CloseSession txn with fuzzy snapshot
Currently, the CloseSession txn is not idempotent, executing the
CloseSession twice won't get the same result, which could cause pzxid
inconsistent, which in turn cause watches missing.
For more details, please check the description in ZOOKEEPER-3145.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lvfangmin/zookeeper ZOOKEEPER-3145
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/622.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 #622
----
commit 9576e25ae1ecc09b8d17a144b9aa82604f03fdd0
Author: Fangmin Lyu <allenlyu@...>
Date: 2018-09-12T18:30:05Z
Add CloseSessionTxn to track the nodes being deleted when close session
----
---