pythonapache-zookeeperkazoo

What all possible times 'kazoo.exceptions.ConnectionLoss' is raised?


I am using apache-zookeeper and kazoo framework for one of my requirement. I have a simple zookeeper cluster setup and few clients connecting to server cluster to read node information. I am facing kazoo.exceptions.ConnectionLoss randomly(once in fifty times). My concern is on what all times this exception is raised ? Below are the points I thought.

Can there be any other reasons for this exception? I don't see documentation explaining anything in detail on this.


Solution

  • I fear I don't have ready answer but looking at Kazoo code I think this can come in following conditions,

    Tried to gather this from Kazoo unittest code test_connection test_client ,