rust-zookeeper
rust-zookeeper copied to clipboard
Error on drop after close
There seems to be an error that shows up when dropping ZooKeeper
after previously closing the connection with ZooKeeper::close
. I believe this is because ZooKeeper::drop
will try to close the connection, and that will error out if it is already closed.
At this stage nothing particularly bad happens other than an unnecessary attempt to make a request to ZK (to close the session), and an error that is logged.
[<timestamp> ERROR zookeeper::zookeeper] error closing zookeeper connection in drop: ConnectionLoss