Fork me on GitHub
#datomic
<
2018-08-04
>
rhansen11:08:01

It seems that when returning a header value that is a seq of strings, a web app in datomic ion will crash. I filed a bug with ring (their wrap-cookie middleware returns a seq of strings for the Set-Cookie header), but they said that it's proper ring behaviour to do that. Is it within ions scope to support this?

Mark Addleman15:08:31

I don’t know the answer but several Ions related people are hanging out on #ions-aws . You might want to repost there

👍 4
sho04:08:42

@U0H2CPW6B You can get around that cookie issue with [this library](https://github.com/euccastro/expand-headers) by @U65FN6WL9.

Desmond19:08:27

can someone please recommend a migration tool to manage running schema migrations exactly once? also what is the drawback to running these migrations more than once? i occasionally do it with my dev database and i haven't noticed any problems.

donaldball02:08:33

Some folk like conformity for this. Assuming your database schema contains the schema datoms you’re transacting, the only consequence of which I’m aware is taking some transactor time and a noop txn in your history.

Desmond02:08:33

Those seem like trivial costs. I think i'll stick with my redundant schema migrations. thanks @U04V4HWQ4

Desmond05:08:00

@U06GS6P1N thanks i'll check it out

Desmond19:08:42

how does the :db/id used in schema alteration (https://docs.datomic.com/cloud/schema/schema-change.html) relate to the :db/ident in schema definition (https://docs.datomic.com/cloud/schema/defining-schema.html)?

Desmond19:08:30

would i use the value from :db/ident in the definition for :db/id in the alteration?

Desmond19:08:45

i suppose i could just go check a schema datom's :db/id

Desmond21:08:44

the :db/id is just a number...

Desmond21:08:30

on another unrelated note: during restoration I'm getting a throughput error: The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.

Desmond21:08:50

Is there a way to slow down backup-db?