This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-05
Channels
- # beginners (11)
- # boot (121)
- # bristol-clojurians (3)
- # cider (5)
- # cljs-dev (45)
- # clojure (122)
- # clojure-conj (3)
- # clojure-germany (1)
- # clojure-japan (9)
- # clojure-russia (48)
- # clojurescript (129)
- # community-development (2)
- # cursive (17)
- # datomic (11)
- # editors-rus (3)
- # events (2)
- # funcool (32)
- # ldnclj (22)
- # om (110)
- # onyx (15)
- # re-frame (2)
in order to clear state between launches on staging, what zookeeper nodes would we want to clear out? or is this even a reasonable thing?
You could just run on a new onyx/id each time. That would ensure a clean cluster state
well, that has to be coordinated between our servers...
the issue we are having, is how to tell every server the same new id - we are putting it in the jar, but then restarting the jar without a fresh build means we get held over state
I would put something like onyx/id in an env variable or command line arg
which is what made me think that for staging at least, clearing the zk would be clean
OK, we are going that route too, I was checking out alternates
Cleaning ZK works too though
which nodes (it's not the only client of zk)
I think if you just delete everything under /onyx/id then it'd be fine
cool, thanks
I think having onyx/id outside of the jar is best practice though. It'll make it easy to get to a new cluster state without deleting anything if you ever need to do so
Even if you don't use it
thanks
No worries