Fixed size history for Scheduled Workflow tasks (#2036)

Once we execute scheduled workflow task, we append entry to history.
Each entry is of the format "<taskname>-<timestamp>"

But we never purged old entries.
This will result in hitting size limit of Znode.

Introducing fixed size history of 20 and purge all the previous entries.
1 file changed
tree: e095226b1bd8e183966609e0090cbcdc4b1b8cba
  1. .github/
  2. helix-admin-webapp/
  3. helix-agent/
  4. helix-common/
  5. helix-core/
  6. helix-front/
  7. helix-lock/
  8. helix-rest/
  9. helix-view-aggregator/
  10. metadata-store-directory-common/
  11. metrics-common/
  12. recipes/
  13. scripts/
  14. website/
  15. zookeeper-api/
  16. .gitignore
  17. build
  18. bump-up.command
  19. deploySite.sh
  20. helix-style-intellij.xml
  21. helix-style.xml
  22. hpost-review.sh
  23. LICENSE
  24. NOTICE
  25. org.apache.maven.plugins:maven-scm-publish-plugin:3.1.0
  26. pom.xml
  27. README.md
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