You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/08/26 23:26:46 UTC

[jira] Created: (ZOOKEEPER-126) zookeeper client close operation may block indefinitely

zookeeper client close operation may block indefinitely
-------------------------------------------------------

                 Key: ZOOKEEPER-126
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-126
             Project: Zookeeper
          Issue Type: Bug
          Components: java client
            Reporter: Patrick Hunt


Moving the hang issue from ZOOKEEPER-63 to here. See 63 for background and potential patch (patch_ZOOKEEPER-63.patch).

specifically (from James): 

"I'm thinking the close() method should not wait() forever on the disconnect packet, just a closeTimeout length - say a few seconds. Afterall blocking and forcing a reconnect just to redeliver the disconnect packet seems a bit silly - when the server has to deal with clients which just have their sockets fail anyway"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-126) zookeeper client close operation may block indefinitely

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642338#action_12642338 ] 

Mahadev konar commented on ZOOKEEPER-126:
-----------------------------------------

was this problem fixed with fixes to the client code in 3.0?

> zookeeper client close operation may block indefinitely
> -------------------------------------------------------
>
>                 Key: ZOOKEEPER-126
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-126
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Patrick Hunt
>         Attachments: ZOOKEEPER-126.patch
>
>
> Moving the hang issue from ZOOKEEPER-63 to here. See 63 for background and potential patch (patch_ZOOKEEPER-63.patch).
> specifically (from James): 
> "I'm thinking the close() method should not wait() forever on the disconnect packet, just a closeTimeout length - say a few seconds. Afterall blocking and forcing a reconnect just to redeliver the disconnect packet seems a bit silly - when the server has to deal with clients which just have their sockets fail anyway"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-126) zookeeper client close operation may block indefinitely

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-126:
------------------------------------

    Fix Version/s: 3.3.0

> zookeeper client close operation may block indefinitely
> -------------------------------------------------------
>
>                 Key: ZOOKEEPER-126
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-126
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-126.patch
>
>
> Moving the hang issue from ZOOKEEPER-63 to here. See 63 for background and potential patch (patch_ZOOKEEPER-63.patch).
> specifically (from James): 
> "I'm thinking the close() method should not wait() forever on the disconnect packet, just a closeTimeout length - say a few seconds. Afterall blocking and forcing a reconnect just to redeliver the disconnect packet seems a bit silly - when the server has to deal with clients which just have their sockets fail anyway"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-126) zookeeper client close operation may block indefinitely

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-126:
-----------------------------------

    Attachment: ZOOKEEPER-126.patch

Moved this patch from ZOOKEEPER-63 to here.


> zookeeper client close operation may block indefinitely
> -------------------------------------------------------
>
>                 Key: ZOOKEEPER-126
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-126
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Patrick Hunt
>         Attachments: ZOOKEEPER-126.patch
>
>
> Moving the hang issue from ZOOKEEPER-63 to here. See 63 for background and potential patch (patch_ZOOKEEPER-63.patch).
> specifically (from James): 
> "I'm thinking the close() method should not wait() forever on the disconnect packet, just a closeTimeout length - say a few seconds. Afterall blocking and forcing a reconnect just to redeliver the disconnect packet seems a bit silly - when the server has to deal with clients which just have their sockets fail anyway"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.