You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Jie Huang (Jira)" <ji...@apache.org> on 2020/06/15 23:20:00 UTC

[jira] [Created] (ZOOKEEPER-3863) Do not track global sessions in ReadOnlyZooKeeperServer

Jie Huang created ZOOKEEPER-3863:
------------------------------------

             Summary: Do not track global sessions in ReadOnlyZooKeeperServer
                 Key: ZOOKEEPER-3863
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3863
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.6.2
            Reporter: Jie Huang


ReadOnlyZooKeeperServer is using the default SessionTrackerImpl, which tracks and expires the global sessions, which should be tracked and expired only by the leader. This diff changes the code to use LearnerSessionTracker, which only tracks and expires local session.



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