We have a Zookeeper production cluster with 6 nodes(1 leader,2 followers, 3 observers). We are seeing a drop in watchers if the leader restarts for some reason without drop-in connections. Please see the sequence of actions listed below.
The leader restarted for some reason.
All the followers restarted because of the leader restart to elect new leader.
We see there is no drop in the number of connections. Connections shifted from one ZK VM to another ZK VM.
But we are seeing a drop in the number of watchers created. Each connection that we create is associated with one to twenty watchers depending on the use case.
We would like to understand, is this the the bug, or when ever connection drop happens we need to recreate the watcher?
Hi Team,
We have a Zookeeper production cluster with 6 nodes(1 leader,2 followers, 3 observers). We are seeing a drop in watchers if the leader restarts for some reason without drop-in connections. Please see the sequence of actions listed below.
We would like to understand, is this the the bug, or when ever connection drop happens we need to recreate the watcher?