You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jie Huang (Jira)" <ji...@apache.org> on 2019/10/12 22:57:00 UTC
[jira] [Created] (ZOOKEEPER-3574) Close quorum socket
asynchronously to avoid shutdown stalled by long socket closing time
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)