zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: four letter commands not working as expected.
Date Tue, 29 Nov 2016 23:08:44 GMT
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 <bensherman@gmail.com> 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


Mime
View raw message