shixiaoxiao created ZOOKEEPER-4388:
--------------------------------------

             Summary: ReadOnlyRequestProcessor doesn‘t  filter  closeSession 
and createSession
                 Key: ZOOKEEPER-4388
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4388
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.6.2, 3.6.1, 3.6.3, 3.6.0
         Environment: zk version 3.6.0 3.6.1 3.6.2

the follower/observer network disconnection time exceeds session timeout
            Reporter: shixiaoxiao
             Fix For: 3.7
         Attachments: dataInconsistent.png

The follower/observer enable read only. When the node returns to normal from 
the partitioned, the ephemerals nodes will be  inconsistent with the leader 
node. The reason is that the request to close the timeout sessions is processed 
by the ReadOnly follower or observer  when they are partitioned and the 
ephemerals nodes created by these sessions also are delete. When the leader 
node uses diff to synchronize data with the follower/observer node, the 
transaction that needs to be synchronized does not include the creation of 
temporary nodes which created by sessions closed by followers.So the 
follower/observer  ephemerals nodes is inconsistent with leader.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to