zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Huang (Jira)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3574) Close quorum socket asynchronously to avoid shutdown stalled by long socket closing time
Date Sat, 12 Oct 2019 22:57:00 GMT
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)

Mime
View raw message