mirror of
https://github.com/corda/corda.git
synced 2025-03-01 04:16:21 +00:00
* initial zk leader election commit * simplify latch states. now able to retry for leader without creating a new latch * finished zookeeper client wrapper, added unit tests, moved src files to different module * moved sources to node-api * increase election wait time * Remove sleep() causing tests to be flaky. Used countdownlatch to sync * reworked election algorithm; path watcher is re-created right after it triggers * moved kdocs from implementing class to interface * remove whitespace * added isStarted() method to ZkClient * added a unit test that randomly executes actions on zk clients