This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-08
Channels
- # announcements (5)
- # aws (15)
- # babashka (7)
- # beginners (138)
- # bristol-clojurians (2)
- # chlorine-clover (11)
- # cider (9)
- # clara (4)
- # clj-kondo (17)
- # cljsrn (20)
- # clojars (1)
- # clojure (73)
- # clojure-europe (17)
- # clojure-italy (1)
- # clojure-nl (9)
- # clojure-spec (4)
- # clojure-uk (9)
- # clojurescript (43)
- # data-science (1)
- # datomic (87)
- # emacs (2)
- # figwheel-main (30)
- # fulcro (71)
- # helix (2)
- # hugsql (4)
- # jackdaw (5)
- # jobs (3)
- # jobs-discuss (31)
- # juxt (5)
- # kaocha (6)
- # lein-figwheel (16)
- # leiningen (1)
- # luminus (4)
- # malli (2)
- # meander (54)
- # music (8)
- # nrepl (12)
- # observability (28)
- # off-topic (85)
- # pathom (11)
- # re-frame (99)
- # reitit (9)
- # ring (1)
- # rum (6)
- # sci (11)
- # shadow-cljs (102)
- # sql (22)
- # tools-deps (10)
- # vim (65)
- # xtdb (14)
Hi, was testing crux here, but just got an error... What I did was: 1. Connected a JDBC node 2. Send about 500k documents (auto-generated) 3. Disconnected, and tried to re-connect the node
Hi @U3Y18N0UC when you say 500k documents...how many transactions was that? Was it just one transaction?
We have an option issue that I think captures your problem also: https://github.com/juxt/crux/issues/902
Hi, it was 500 transactions of 1000 elements each
But I was able to transact the documents, I just can't connect to the JDBC node anymore
Interesting, perhaps it's a subtly different issue then (but a much higher impact!). It feels like something we should be able to reproduce and fix relatively quickly, so I'll make sure it's a top priority tomorrow. In the meantime I hope you're not too blocked with your experimentation.
Oh, one other question: roughly how large are your documents? Just a few fields? Presumably not MBs 🙂
This was what I used to send seeds (as you can see, it's only a test, really 😄:
(defn gen-batch [batch]
(->> batch
(mapv (fn [n]
[:crux.tx/put
{:crux.db/id (java.util.UUID/randomUUID)
:amount (rand-int 9000)
:description (gensym "somethings-")
:my-number n}]))))
Hey @U3Y18N0UC, thanks for the report - we've just merged a fix for this one, it'll go into our next release 🙂
Great, thanks! Will test with the new version then 😄
Got the following error: