Fork me on GitHub
#datomic
<
2017-08-28
>
stijn15:08:19

is there a way to show the final transaction after all transaction functions have been executed?

hmaurer15:08:41

@stijn maybe the txdata returned by transact? although that will only contain the transacted atoms (e.g. fresh facts)

stijn15:08:47

@hmaurer it is to debug an IllegalArgumentExceptionInfo :db.error/tempid-not-an-entity tempid used only as value in transaction datomic.error/arg (error.clj:57)

stijn15:08:08

so it does not return tx-data, but throws

stijn15:08:52

I can probably recursively call d/invoke, but if it exists that would be nice 🙂

hmaurer15:08:57

@stijn ah, in that case I do not know of a built-in way to do it (I am new to Datomic). However you could pretty easily write some code to execute your transaction functions locally

hmaurer15:08:02

yeah exactly 🙂

laujensen15:08:07

Gents, Im getting a " Critical failure, cannot continue: Indexing retry limit exceeded." from Datomic when it saves to MySQL. There's not a lot of data being moved, I estimate < 1 MB, and MySQL is set to max_allowed_package 200M, so that shouldnt be a problem. How do I debug?

genRaiy16:08:11

AWS question …. or clarification

marshall16:08:31

@laujensen what is showing up in the transactor logs

genRaiy16:08:41

are there supported cognitect AMIs that automate the install?

laujensen16:08:12

@marshall Pretty much just a few of what I pasted above.Then the server restarts the service

genRaiy16:08:13

the manual references AMIs but I can’t see them in the AWS EC2 market place

genRaiy16:08:30

(at least not from Cognitect)

marshall16:08:35

@laujensen there should be some cause of the indexing failure above the retry limit exceeded message

genRaiy16:08:19

@marshall I have read that 3 times and still don’t get it 😉

laujensen16:08:34

@marshall, yea, mysql is complaining about a BLOB size that exceeds 10% of the redo log, so Ive tried increasing it, though it seems an odd problem for the low amount of data im pushing

marshall16:08:11

@raymcdermott there is an AMI that will download the version of Datomic specified and launch it it is a publicly available AMI, but it is not a Marketplace AMI

genRaiy16:08:15

@marshall …. ok so it’s all hidden behind create-cf-stack

genRaiy16:08:54

ensure-cf / create-cf-template / create-cf-stack

genRaiy16:08:45

reading it the fourth time is the charm

Chris Bidler16:08:46

@raymcdermott Note that “hidden” is relative; the AMI IDs will be in a map called AWSRegionArch2AMI in the stack JSON created by create-cf-stack

genRaiy17:08:27

thanks @chris_johnson … I am not yet ready to poke around in their privates 😉