zookeeper server cluster + Mode: follower and Mode: leader are change evry couple min

Viewed 104

we have zookeeper cluster with 3 nodes

when we perform the following commands

echo stat | nc  zookeeper_server01 2181  | grep Mode
echo stat | nc  zookeeper_server02 2181  | grep Mode
echo stat | nc  zookeeper_server03 2181  | grep Mode

we saw that zookeeper_server03 is the leader and other are the Mode: follower

but we noticed that every couple min the state is change and indeed after 4 min zookeeper_server01 became the leader and other are Mode: follower again after 6 min zookeeper_server02 became a leader and so on

my Question is - dose this strange behavior is normal ?

I want to say that production Kafka cluster is using this zookeeper servers so , we are worry about that

0 Answers
Related