Fork me on GitHub
#xtdb
<
2020-07-08
>
mauricio.szabo21:07:19

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

refset21:07:52

Hi @U3Y18N0UC when you say 500k documents...how many transactions was that? Was it just one transaction?

refset21:07:46

We have an option issue that I think captures your problem also: https://github.com/juxt/crux/issues/902

mauricio.szabo21:07:12

Hi, it was 500 transactions of 1000 elements each

mauricio.szabo21:07:31

But I was able to transact the documents, I just can't connect to the JDBC node anymore

refset21:07:58

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.

refset21:07:52

Oh, one other question: roughly how large are your documents? Just a few fields? Presumably not MBs 🙂

mauricio.szabo21:07:30

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}]))))

🙏 3
jarohen09:07:18

Hey @U3Y18N0UC, thanks for the report - we've just merged a fix for this one, it'll go into our next release 🙂

3
👏 3
jarohen09:07:40

Thanks @U0S3YK6HK too 🙂

3
mauricio.szabo17:07:26

Great, thanks! Will test with the new version then 😄

mauricio.szabo01:07:10

Just tested, it's working fine! Thanks!

🙏 6
mauricio.szabo21:07:26

Got the following error: