Kevin Burton commented on ZOOKEEPER-267:

This also is sent when you have a list of hosts and the first host is 
offline..... you'll receive a syncdisconnected when the lib fails to connect.

It happens once for each server in the list hosts.  Should it even happen 
before you're connected?

> java client incorrectly generating syncdisconnected event when in 
> disconnected state
> ------------------------------------------------------------------------------------
>                 Key: ZOOKEEPER-267
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-267
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Patrick Hunt
>             Fix For: 3.1.0
> The java client (and someone should also review the c client) is generating a 
> syncdisconnected even if the client is currently in the disconnected state. 
> We saw this with a user running the java client against a down standalone 
> server (server not running, connection refused) - the "syncdisconnected" is 
> generated by the client lib each time a connection attempt (fails) is made. 
> Should only be generated once.

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