It looks like the server is in the LOOKING state, so it is not serving request 
but it is up. I'd say that ruok should return imok as long as the server is up, 
it's not necessarily a health check.  We could review the semantics of the 
commands if this behavior and others are confusing.

-Flavio  


> On 29 Nov 2016, at 19:54, Ben Sherman <[email protected]> wrote:
> 
> Four letter word ruok is returning imok when the server is decidedly not
> okay - is this the expected behavior?
> 
> bsherman@zk1:~$ nc localhost 2181 <<< mntr
> This ZooKeeper instance is not currently serving requests
> bsherman@zk1:~$ nc localhost 2181 <<< ruok
> imok
> 
> I'm running 3.4.9.
> 
> --ben

Reply via email to