[
https://issues.apache.org/jira/browse/ZOOKEEPER-1812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819688#comment-13819688
]
Patrick Hunt commented on ZOOKEEPER-1812:
-----------------------------------------
We shouldn't fix this issue with a patch to zooinspector, this is really and
issue with the zk client code. I see ZOOKEEPER-1057 which sounds related,
however that's c client and not java. I thought I had seen something similar
reported against just but I can't find it. (although there is
ZOOKEEPER-1734/ZOOKEEPER-1576)
I think we need to address this as an issue in the client implementation.
> ZooInspector reconnection always fails if first connection fails
> ----------------------------------------------------------------
>
> Key: ZOOKEEPER-1812
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1812
> Project: ZooKeeper
> Issue Type: Bug
> Components: contrib
> Affects Versions: 3.4.5, 3.5.0
> Reporter: Benjamin Jaton
> Assignee: Benjamin Jaton
> Priority: Minor
> Labels: zooinspector
> Fix For: 3.4.6, 3.5.0
>
> Attachments: ZOOKEEPER-1812-3.4.patch, ZOOKEEPER-1812.patch
>
>
> Steps to reproduce:
> - Connect to localhost:2181 when ZooKeeper server is down. After a few
> seconds, ZooInspector warns that the connection has failed
> - start the ZooKeeper server
> - Reconnect to localhost:2181, ZooInspector will still not be able to connect
> to the server.
> The workaround is to relaunch ZooInspector.
--
This message was sent by Atlassian JIRA
(v6.1#6144)