Fork me on GitHub
#onyx
<
2017-05-18
>
devth23:05:27

i don't think tx-range is producing the clojure.lang.Delay in onyx-datomic. at least I can't seem to repro, though if I run my onyx job it repros every time. still digging but not sure where to start. currently throwing a ton of log statements in onyx-datomic.

lucasbradstreet23:05:03

@devth it’s such a weird one. I am pretty sure it’s coming from somewhere in datomic though.

lucasbradstreet23:05:27

we certainly don’t use delay in onyx

devth23:05:05

ok. the reason I don't think it was is because I started logging params used to call tx-range, e.g.:

tx-range 7174
tx-range 7560

devth23:05:21

7560 appears to be near the very end (only about 10 datoms after that point)

devth23:05:39

i can run tx-range in a repl with 7560 and it gives me back a seq of datoms

lucasbradstreet23:05:44

My guess is that there’s just some code path that will return a delay inconsistently

devth23:05:25

i opened a support issue with the datomic team but they need a repro

devth23:05:37

currently i can only repro by running the job. not via my repl

devth23:05:37

does core.async ever produce a delay?

lucasbradstreet23:05:40

Can you paste the stack trace again?

lucasbradstreet23:05:57

You’re using onyx 0.9 still, right?

lucasbradstreet23:05:27

k, one sec. will come up with a version of onyx-datomic that you can try

lucasbradstreet23:05:45

@devth can you try to make it happen with onyx-datomic 0.9.15.1-20170518.234522-2?

lucasbradstreet23:05:04

It immediately tries to serialize the segments fetched from tx-range

lucasbradstreet23:05:10

then it will print them if it can’t

devth23:05:30

[idx-2848043163-77jsn idx] ERROR COMPRESSING TXRANGE ENTRIES
[idx-2848043163-77jsn idx] ({:id #uuid "591a05cc-9a78-4005-84f3-fad2cf9694da", :data #object[java.util.Arrays$ArrayList 0x2b76db59 

devth23:05:41

followed by a ton of datoms and ArrayLists

devth23:05:00

top level exception is Unfreezable type: class java.util.Arrays$ArrayList

lucasbradstreet23:05:37

Ah actually I should try and unroll it first. One moment - I’ll get you another version

lucasbradstreet23:05:45

Can you try 0.9.15.1-20170518.235538-3

devth23:05:25

it's in the pipeline. uberjar: 1.5 min build and push docker image: 1.5 min deploy: 20 seconds