GitHub user lvfangmin opened a pull request: https://github.com/apache/zookeeper/pull/665
[ZOOKEEPER-3163] Use session map in the Netty to improve close session performance This is a refactor to make the Netty able to use the same closeSession logic in NIOServerCnxn, which is more efficient with the sessionMap. Rely on the existing tests for the refactor work here. You can merge this pull request into a Git repository by running: $ git pull https://github.com/lvfangmin/zookeeper ZOOKEEPER-3163 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/665.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #665 ---- commit 4e9f80fa4c556269a64834b84128d84297c92e1d Author: Fangmin Lyu <allenlyu@...> Date: 2018-10-09T16:45:44Z Use session map in the Netty to improve close session performance ---- ---