Fork me on GitHub
#xtdb
<
2019-07-07
>
denik20:07:52

how does crux serialize/encode edn when used with rocksdb?

refset18:07:01

@U050CJFRU by the way, I'm very keen to see where you take Zeal 🔥

🚀 4
denik03:07:42

@U899JBRPF was asking because: https://www.reddit.com/r/Clojure/comments/ca9jad/what_is_valid_edn_and_how_to_tell_it_apart_from/ currently. Crux seems to quietly error when transacting an object it can't serialize. For example

(defn foo [])
(submit-tx system [{:entity/foo foo}])

denik03:07:34

It does not error, but what's worse, it doesn't seem to recover. I need to restart the db.

refset09:07:02

@U050CJFRU Ahh interesting! I'll add this example to the open specs issue. Thanks for pointing it out