Jie Huang created ZOOKEEPER-3574:
------------------------------------
Summary: Close quorum socket asynchronously to avoid shutdown
stalled by long socket closing time
Key: ZOOKEEPER-3574
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3574
Project: ZooKeeper
Issue Type: Sub-task
Components: server
Affects Versions: 3.6.0
Reporter: Jie Huang
Since we can't use SO_LINGER option or find a substitute to close a TLS socket
quickly in JDK 11, we call close() asynchronously so the shutdown can proceed
and a new leader election can be started while the socket being closed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)