You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andrew Kornev (JIRA)" <ji...@apache.org> on 2008/06/27 02:06:45 UTC
[jira] Commented: (ZOOKEEPER-47) io thread still around after a
EXPIRED_SESSION or AUTH_FAILED event is received
[ https://issues.apache.org/jira/browse/ZOOKEEPER-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608625#action_12608625 ]
Andrew Kornev commented on ZOOKEEPER-47:
----------------------------------------
But that's exactly what the do_io does! It check if the zhandle_t state is unrecoverable and terminates if it is.
> io thread still around after a EXPIRED_SESSION or AUTH_FAILED event is received
> -------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-47
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-47
> Project: Zookeeper
> Issue Type: Bug
> Components: c client
> Reporter: Benjamin Reed
>
> If a session expires, the zhandle_t becomes invalid and useless; however, the io thread keeps going.
> do_io in mt_adaptor.c needs to check the return code of zookeeper_interest and zookeeper_process and get out of the loop if the handle is invalid.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.