Stat and srvr 4 letter commands are useless on the leader when leaderServes =
false
-----------------------------------------------------------------------------------
Key: ZOOKEEPER-1281
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1281
Project: ZooKeeper
Issue Type: Improvement
Components: server
Affects Versions: 3.3.3
Reporter: Daniel Lord
When leaderServes = false the leader responds to the stat/srvr letter words
with simply "his ZooKeeper instance is not currently serving requests". While
I agree that is an accurate statement it's not terribly useful for monitoring
programs. Additionally, if members of the ensemble are not currently in the
quorum it becomes impossible to tell who is out of the quorum and who is the
leader of the quorum.
I'm not sure if the leader should have a specially formatted response for
stat/srvr or if it should simply display less information (no connections for
example).
--
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