rust-zookeeper icon indicating copy to clipboard operation
rust-zookeeper copied to clipboard

Error on drop after close

Open joshleeb opened this issue 4 years ago • 0 comments

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

joshleeb avatar Sep 23 '20 10:09 joshleeb