Implement Participant Freeze Process (#1812)

After controller sends a freeze message to participant, participant needs to process the freeze message and execute the freeze request. It will mark the live instance as "frozen" internally in memory and in live instance znode.

For session change during freeze, handle new session won't do anything, except creating the live instance znode.
To unfreeze, if there is session change during the freeze period, state model state will be synced and current states will be carried over. Then live instance status field is removed.
8 files changed
tree: 1ef2235e39bb18cfc8e23fac115278fd46c5d546
  1. .github/
  2. .gitignore
  3. LICENSE
  4. NOTICE
  5. README.md
  6. build
  7. bump-up.command
  8. deploySite.sh
  9. helix-admin-webapp/
  10. helix-agent/
  11. helix-common/
  12. helix-core/
  13. helix-front/
  14. helix-lock/
  15. helix-rest/
  16. helix-style-intellij.xml
  17. helix-style.xml
  18. hpost-review.sh
  19. metadata-store-directory-common/
  20. metrics-common/
  21. pom.xml
  22. recipes/
  23. scripts/
  24. website/
  25. zookeeper-api/
README.md

Apache Helix

Github Build Maven Central License codecov.io Flaky Tests Track

Helix Logo

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 -Dmaven.test.skip.exec=true

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