Open behos opened 1 year ago
Watches are stored locally in the ensemble member that they were created in-memory and are not moved between members on disconnects.
When reconnecting to Zookeeper https://github.com/bonifaido/rust-zookeeper/blob/master/src/io.rs#L299-L349 we might hit a new node which doesn't have our watches, so we need to recreate them on reconnect.
Watches are stored locally in the ensemble member that they were created in-memory and are not moved between members on disconnects.
When reconnecting to Zookeeper https://github.com/bonifaido/rust-zookeeper/blob/master/src/io.rs#L299-L349 we might hit a new node which doesn't have our watches, so we need to recreate them on reconnect.