[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fangmin Lv resolved ZOOKEEPER-3682.
-----------------------------------
    Resolution: Fixed

Issue resolved by pull request 1210
[https://github.com/apache/zookeeper/pull/1210]

> Stop initializing new SSL connection if ZK server is shutting down
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3682
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3682
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Jie Huang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.7.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> ZK keeps accepting new connections while it's being shut down then 
> immediately close them when it finds out that the ZK server is not running. 
> It's not a big deal before SSL is enabled since creating TCP connections is 
> relatively cheap.
>  
> With SSL being widely enabled,  creating SSL connections involves handshake 
> that takes non-trivial CPU time, which is wasted since the connections are 
> closed right after. 
>  
> This JIRA is going to stop initializing TLS handshake if the zkServer is not 
> serving to save resources.



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

Reply via email to