This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-07
Channels
- # bangalore-clj (2)
- # beginners (53)
- # boot (30)
- # cider (27)
- # clara (1)
- # cljs-dev (18)
- # cljsrn (16)
- # clojure (153)
- # clojure-brasil (1)
- # clojure-dusseldorf (5)
- # clojure-italy (20)
- # clojure-losangeles (3)
- # clojure-spec (4)
- # clojure-uk (177)
- # clojurescript (115)
- # component (4)
- # core-logic (1)
- # datomic (29)
- # emacs (9)
- # figwheel (2)
- # gorilla (1)
- # graphql (36)
- # hoplon (4)
- # jobs (1)
- # jobs-discuss (3)
- # juxt (2)
- # keechma (22)
- # lumo (4)
- # off-topic (1)
- # onyx (17)
- # parinfer (96)
- # protorepl (10)
- # re-frame (31)
- # reagent (14)
- # ring-swagger (17)
- # spacemacs (32)
Hi all! Help me track this behavior. I have an job (datomic-plugin/read-log) and all working fine, until the system remain several hours idle, after that the job still up if i curl http://localhost:8080/replica/jobs but the job dont read more from DB if i insert something, only back to work if i change tenancy ID, sync my database and submit the job again. I lost something? There is any properties to sleep the job or similar?
That should definitely still work. Is there anything interesting (exceptions?) in the onyx.log?
No exceptions, if i turn on info mode the log keep logging this
17-08-07 18:17:15 ip-10-0-1-50 INFO [onyx.peer.task-lifecycle:215] - Checkpointed output c514efa8-faca-f1bc-f3e8-c78bdf5d2a92 30 137 :out 0 :output
17-08-07 18:17:18 ip-10-0-1-50 INFO [onyx.peer.task-lifecycle:177] - Checkpointed input c514efa8-faca-f1bc-f3e8-c78bdf5d2a92 30 138 :read-log 0 :input
17-08-07 18:17:18 ip-10-0-1-50 INFO [onyx.peer.task-lifecycle:215] - Checkpointed output c514efa8-faca-f1bc-f3e8-c78bdf5d2a92 30 138 :out-websocket 0 :output
17-08-07 18:17:18 ip-10-0-1-50 INFO [onyx.peer.task-lifecycle:215] - Checkpointed output c514efa8-faca-f1bc-f3e8-c78bdf5d2a92 30 138 :out-email 0 :output
17-08-07 18:17:18 ip-10-0-1-50 INFO [onyx.peer.task-lifecycle:215] - Checkpointed output c514efa8-faca-f1bc-f3e8-c78bdf5d2a92 30 138 :out 0 :output
Looks like the job is still chugging along as expected then. Hmm.
Yeah, I just mean that what you said about the job being up is true. I’m not sure why it’s not continuing to read.
Possibly, but probably not what’s going on. Is your spy fn on the input task? That’d help reduce the chances that it’s problems with the segments flowing downstream.
K. I assume you’re using 0.10?
I can give you a version with some logging to help you debug.
just a min
@lellis please try 0.10.0.1-debug1 with :onyx/batch-timeout
increased (to reduce logging), and logging :info
level
batch-timeout of 1000 or 2000 would probably be OK