go-zookeeper / zk

Native ZooKeeper client for Go
BSD 3-Clause "New" or "Revised" License
512 stars 130 forks source link

bugfix: invalidate current watchers if connections is being reset #84

Open niamster opened 2 years ago

niamster commented 2 years ago

When client becomes isolated it would be great if the business logic layer could be aware of the partitioning if it relies on watches to update its state.

This fixes https://github.com/go-zookeeper/zk/issues/83