zk1931 / jzab

ZooKeeper Atomic Broadcast in Java
http://zk1931.github.io/jzab/master/
Apache License 2.0
54 stars 23 forks source link

Notify user when zab gets removed? #202

Open EasonLiao opened 10 years ago

EasonLiao commented 10 years ago

I found this issue while implementing pulsed.

If a Zab server gets removed, the pulsed process should exit and print out messages. But now the only way to check if the your Zab instance gets removed by you/others or not is to check whether you is included in the clusterConfig of leading and following callback.

This is not very straightforward, maybe add a exit callback?