Fork me on GitHub
#datomic
<
2018-06-17
>
steveb8n01:06:58

A suggestion for the Cloud docs: I used a non-default region for my Cloud Stack and this caused problems in setting up cloud (key pairs in other regions) and with Ion push (an error about not finding matching tags). Maybe the docs could help noobs like me avoid these errors by making the sensitivity to region more explicit?

steveb8n02:06:22

for reference, the Ion error when pushing to the incorrect region is “Did not find exactly one result with tags” so not obvious that the region is the problem

👍 4
steveb8n03:06:29

another doc correction: the post-deploy curl command fails with 403 {“message”:“Missing Authentication Token”} but, if you add any path to the uri then it succeeds e.g. curl https://$(obfuscated-name).http://execute-api.us-east-1.amazonaws.com/dev/foo -d :hat

steveb8n03:06:40

without the /foo it will 403

steveb8n04:06:54

I have a question about Ion transaction fns vs traditional Datomic “transactor” fns: in Ion transaction fns, the generation of datoms and the transaction of those datoms is 2 separate steps, unlike the old transactor fns. Does this mean we run the risk of concurrency issues if the delay between generate vs transact is non-zero? In the old world, these were a single step so no concerns like this. What is the advice for how to implement db invariants (e.g. composite keys) in light of this?

steveb8n04:06:00

ideally I’d like to use spec to validate entities being written but, for now, reliable composite keys are my focus