zk1931 / jzab

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

Fix for 0.2.0 #176

Closed EasonLiao closed 10 years ago

EasonLiao commented 10 years ago

@m1ch1 Get rid of the tie breaking logic. Current workaround is in clear(), if the Sender is closed because of the failures of the handshake, does the random backoff AFTER removing the Sender. If we does the backoff before removing the Sender from map, the other side will not be able to connect to the Server at this time.

EasonLiao commented 10 years ago

@m1ch1 Fixed the bug in FastLeaderElectionTest. You might want try to see if you can relase it if the tie breaking is not the part of 0.2.0.