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

Seda Unal Calargun commented on ZOOKEEPER-2437:
-----------------------------------------------

We had the similar need with ZOOKEEPER-2437. During leader elections and other 
high load situations, we see a lot of disconnects. We wanted to understand 
whether 
the disconnects were expected client behavior and not caused by any server 
action
the servers were just too overloaded so the clients would disconnect and try 
another host
the server was disconnecting the client due to some error
some action (or inaction) on the ZK host causes the client to disconnect 
without doing any useful work. 
In general, we just didn't have the visibility into the causes of the 
disconnects so it was harder for us to direct our investigations in the right 
direction. The stats are just as much about ruling out possible issues as 
identifying an actual root cause. We want to understand how often we have 
unexpected disconnects and what are the causes for those unexpected 
disconnects. It might be useful to have that support on the open source code 
base since it has valuable server/client behavior insights on the quality of 
the zookeeper operation.

> Need detailed diagnostics for Zookeeper Connection Issues
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-2437
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2437
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>    Affects Versions: 3.5.1
>            Reporter: harcor
>            Priority: Critical
>
> Using a zookeeper ensemble with Apache Solr, the client connection (socket) 
> can be disconnected by either Solr or Zookeeper.  If the connection fails on 
> the Zookeeper and we are in DEBUG mode then additional diagnostics should be 
> written to the log withe connection exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to