Github user lvfangmin commented on the issue:

    https://github.com/apache/zookeeper/pull/647
  
    @anmolnar here is the scenario shows why the previous fix on master has 
problem:
    
    1. parent A is in it's parent's serializing list
    2. before it's being serialized, child 1 was deleted in txn T1, and child 2 
was created in txn T2
    3. when parent A is serialized, it's cversion and pzxid is already updated 
correctly by T2
    4. when reloading from disk, T1 will update the pzxid and left cversion 
there
    5. T2 checked the node, and it's already there, then it goes to the 
patching process, and it found the parent's cversion is already up to date and 
skipped patching it, which leaves the pzxid in stale state


---

Reply via email to