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)