Fork me on GitHub
#datomic
<
2017-07-30
>
hmaurer20:07:43

Out of curiosity, does Datomic fetch multiple segments at once from storage? (e.g. in one roundtrip)

hmaurer20:07:53

Depending on the query plan

hmaurer21:07:00

Also, I have another completely unrelated question

hmaurer21:07:35

I am aware that d/transact (Clojure, peer API) returns a :db-after. However I am wondering if, after executing the transaction (and de-referencing the future), I am guaranteed that calling (d/db conn) (on the conn as I executed the transaction) will return a DB at least as recent as :db-after?

favila21:07:45

You are guaranteed

favila21:07:34

(On that peer, caveats for race conditions in your code)

hmaurer21:07:31

@favila yep I meant on the same peer, in the same thread

camdez21:07:46

Nice, I’ve been wondering the same. @favila Do you know of a citation for that? I’d love to read any additional details.

favila22:07:29

Not offhand. Detail: same channel that sends all txs sends your own txes, and receiving tx data is exactly the same as having that t available