You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2020/05/03 17:46:00 UTC

[jira] [Resolved] (ZOOKEEPER-3574) Close quorum socket asynchronously to avoid server shutdown stalled by long socket closing time

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

Enrico Olivelli resolved ZOOKEEPER-3574.
----------------------------------------
    Fix Version/s: 3.7.0
         Assignee: Jie Huang
       Resolution: Fixed

committed to master branch !

> Close quorum socket asynchronously to avoid server 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
>            Assignee: Jie Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.7.0
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> 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)