Fork me on GitHub
#datomic
<
2015-11-11
>
domkm00:11:40

Is there something like macroexpand and macroexpand-1 but for Datomic transactions? I'd like to step through the expansion of transactor functions to diagnose issues.

domkm00:11:26

Even if it's an implementation detail that is subject to change without notice, I'd quite appreciate a pointer to the right function(s).

robert-stuttaford05:11:03

@domkm: that’d be awesome to have!

domkm07:11:59

@robert-stuttaford: Indeed simple_smile It should be fairly easy to simulate by converting maps to vecs and calling invoke on any operation that isn't :db/add or :db/retract. I'm just hoping the official version is available because it seems like it would be a very useful tool for virtually all Datomic users.

robert-stuttaford08:11:16

yeah. better if it was something we could invoke in their api rather than something provided by the community, because then we’d know it’s correct

robert-stuttaford08:11:50

btw, it’s not the same, but one trick you can use is to run it through d/withand inspect :tx-data

robert-stuttaford08:11:22

you’d only see datoms that were transacted – no datoms that were elided due to already being currently true would be included

frankiesardo14:11:53

Hi, I keep on getting an error when connecting to AWS transactor Caused by: HornetQException[errorType=NOT_CONNECTED message=HQ119007: Cannot connect to server(s). Tried with all available servers.]

frankiesardo14:11:32

Somewhere I red it might be because I run out of connections but I close all those I'm aware of. Is there a way to list all the connections to a certain transactor?

frankiesardo15:11:42

if I try to restart the transactor sometimes the error changes to Caused by: HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user:..