We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to figure out how to use monocopy in parallel.
(defn test-monocopy [n conn] (doall (pmap (fn [_] (d/t conn (concat (mc/datoms {(rand) (rand)} (d/tempid :db.part/user) :obj/ref)))) (range n))))
This snippet will often produce an exception on my machine:
user=> (test-monocopy 20 conn) ExceptionInfo :transact/datoms-conflict Two datoms in the same transaction conflict: {:d1 #Datum{:e 17592186045497 :a 76 :v :tailrecursion.monocopy/map :tx 13194139535222 :added true}, :d2 #Datum{:e 17592186045497 :a 76 :v :tailrecursion.monocopy/entry :tx 13194139535222 :added true}} clojure.core/ex-info (core.clj:4327)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to figure out how to use monocopy in parallel.
This snippet will often produce an exception on my machine:
The text was updated successfully, but these errors were encountered: