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.

Reply via email to