[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289443#comment-13289443
 ] 

Stephen Tyree commented on ZOOKEEPER-1479:
------------------------------------------

Should it? Zookeeper operations are well-ordered for one session, so any 
subsequent operation is going to have the authentication you provide via 
zoo_add_auth whether or not the I/O thread is woken up.
                
> C Client: zoo_add_auth() doesn't wake up the IO thread
> ------------------------------------------------------
>
>                 Key: ZOOKEEPER-1479
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1479
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.3
>            Reporter: Michi Mutsuzaki
>             Fix For: 3.5.0
>
>
> It can take up to sessionTimeout / 3 for the IO thread to send out the auth 
> packet. The {{zoo_add_auth()}} function should call {{adaptor_send_queue(zh, 
> 0)}} after {{calling send_last_auth_info(zh)}}.
> --Michi

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to