Fork me on GitHub
#datomic
<
2019-06-07
>
Ivar Refsdal08:06:15

Is it possible to supply a default value in a historical query? I'm looking for something like

[(get-else $ ?e :a/b ?tx true ?default-value) ?val]

fdserr11:06:27

Do I miss a jar?

Could not locate datomic/s3backup__init.class, datomic/s3backup.clj or datomic/s3backup.cljc on classpath.
We're on paid Pro. Thx.

marshall12:06:38

Are you running bin/datomic backup-db from the root of your unzipped datomic distribution?

Guillaume14:06:39

No, we are trying to run the backup function from (:require [datomic.backup])

Guillaume14:06:53

Yes with the command line it's working fine. I thought i could use (datomic.backup/backup [from-conn-uri to-storage-uri sse? progress differential?]) directly in my code.

marshall14:06:45

There is currently no supported API entry for running backup programmatically

Guillaume14:06:05

Ok thanks for the confirmation 🙂

jjfine16:06:52

Did some tweaking of object-cache-max and gc settings on my peer. Tweaking these settings doesn’t seem to impact the metrics that are worrying me. However, maybe what I’m seeing is completely normal for a datomic peer: lots of churn in eden space due to allocations from datomic.api/q. Overall, gc time seems insignificant but new gen gc count per second seems high. Objects look like they’re being allocated and immediately garbage collected. Is this normal? Additionally, it doesn’t seem like the peer is pulling new segments during this time. Does this mean object-cache-max is large enough to hold the data being queried?

daniel.spaniel18:06:43

is there a recommended library for doing ( handling / running ) schema/data migrations for datomic ? i see the library called conformity and curious if there is a better one that that?

Joe Lane20:06:35

Anybody running into issues with a IonHttpDirectFailedToStart alert in datomic cloud?

Joe Lane20:06:50

It appears to be running into a spec error

Joe Lane20:06:01

My Ions appear to still be working.

Daniel Hines21:06:42

On the following page: https://docs.datomic.com/on-prem/dev-setup.html, it reads > To create a connection string, simply replace <DB-NAME> with a database name of your choice, e.g. “hello” However, it’s not clear where I replace <DB-NAME. I don’t see that anywhere in the .properties file.

Daniel Hines21:06:48

Ok, I see now that that’s answered here: https://docs.datomic.com/on-prem/dev-setup.html#peer-server Just a note, that particular information quoted above seems out of order and caused me some confusion.