Refactor zkhander and Zookeeper handling behind class #127
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently zkhandler is quite inconsistent between the 2 daemons, connections are managed manually, etc.
This could be greatly simplified by turning zkhandler into a class, then creating class instances of it (automatic connection) and then passing this around instead of zk_conn. This will also allow cleaner definitions of methods for the handler.
This is a fairly big rewrite/change so should be done on a feature branch.
Work completed. The API daemon now relies on the class-based ZKHandler, and specifically the decorator ZKConnection. This required a bit of refactoring around the loading of the config which works a bit nicer now.
closed
reopened
Next step is to port the main node daemon to use a similar configuration and avoid relying on its duplicated code.
Work completed in 0.9.19.
closed