zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qihong Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-2927) Local session reconnect validation not forward to leader
Date Sat, 28 Oct 2017 09:49:00 GMT
Qihong Xu created ZOOKEEPER-2927:
------------------------------------

             Summary: Local session reconnect validation not forward to leader
                 Key: ZOOKEEPER-2927
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2927
             Project: ZooKeeper
          Issue Type: Improvement
          Components: java client, quorum, server
    Affects Versions: 3.5.3
         Environment: configuration management system based on zookeeper 3.5.3
            Reporter: Qihong Xu
            Priority: Minor


When zookeeper quorum recovers from shutdown/crash, a client with a local session will reconnect
to a random server in quorum. If this random-chosen server is not leader and does not own
the local session previously, it will forward this session to leader for validation. And then
if this is a global session, leader will update its owner, if not, leader adds Boolean false
to packet and does nothing. 

Since our system involves mostly local session and has a large amount of connections, this
procedure may be redundant and add potential pressure to leader. Is this reasonable for the
reconnect scenario that local session does not forward to leader, instead return by follower
directly? 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message