Fix the flaky test (#749)

Fix the unstable TestZkWatch

The root cause of the instability is due to the incorrect condition notify time: it should notify other threads after zkClient finishes the unsubscribing the listener
1 file changed
tree: 5360c5f74557ba2d7f219c4b0fae3b3b5beac4bb
  1. helix-admin-webapp/
  2. helix-agent/
  3. helix-common/
  4. helix-core/
  5. helix-front/
  6. helix-rest/
  7. metrics-common/
  8. recipes/
  9. scripts/
  10. website/
  11. zookeeper-api/
  12. .gitignore
  13. build
  14. bump-up.command
  15. deploySite.sh
  16. helix-style-intellij.xml
  17. helix-style.xml
  18. hpost-review.sh
  19. LICENSE
  20. NOTICE
  21. pom.xml
  22. README.md
README.md

Apache Helix

Helix is part of the Apache Software Foundation.

Project page: http://helix.apache.org/

Mailing list: http://helix.apache.org/mail-lists.html

Build

mvn clean install package -DskipTests

WHAT IS HELIX

Helix is a generic cluster management framework used for automatic management of partitioned, replicated and distributed resources hosted on a cluster of nodes. Helix provides the following features:

  1. Automatic assignment of resource/partition to nodes
  2. Node failure detection and recovery
  3. Dynamic addition of Resources
  4. Dynamic addition of nodes to the cluster
  5. Pluggable distributed state machine to manage the state of a resource via state transitions
  6. Automatic load balancing and throttling of transitions