datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
stuartrexking 2021-01-27T01:20:11.058700Z

I had incorrect config for region name. ๐Ÿค

vlad_poh 2021-01-27T01:40:32.058900Z

Very nice! Just went through it wish there was more.

val_waeselynck 2021-01-27T13:32:29.059100Z

YMMV, but in my experience once Datalog "clicks" there's not much to it.

jaret 2021-01-27T17:39:56.061400Z

CCing @favila as we made a change to attribute predicates per the support case you logged awhile back ^

favila 2021-01-28T15:03:34.063800Z

Yes, they were applied on retractions too, mostly

JohnJ 2021-01-28T15:55:18.064100Z

what problems did it cause?

favila 2021-01-28T15:59:34.064300Z

If you have existing data that violates a predicate, you canโ€™t add the predicate you want and then get rid of bad data. You have to either compromise the predicate to fit the bad data you have (possibly allowing new bad data); or you have to get rid of the bad data first, install the predicate, then check your data again (retractions of bad data may fail in the meantime), and possibly remove the predicate and repeat.

JohnJ 2021-01-28T16:13:34.064500Z

got it, thx

JohnJ 2021-01-28T16:28:34.064700Z

I wonder why they didn't took the approach of "all data must satisfy the predicate before the attribute predicate can be added".

favila 2021-01-28T16:30:50.064900Z

That would be a (potentially long) blocking transaction

JohnJ 2021-01-28T17:43:43.065100Z

If you don't mind, besides HA, does clubhouse runs more than one transactor to serve customers?

favila 2021-01-28T17:46:16.065300Z

only one, for now. Weโ€™re working on sharding.

1๐Ÿ‘
jaret 2021-01-27T17:40:38.061800Z

Thanks for pointing that issue out to us!

favila 2021-01-27T17:40:50.061900Z

Wow that is an incredible relief. I was pretty sure when that ticket closed that you would go the other way and assert on all retractions, including the ones you missed

favila 2021-01-27T17:41:43.062200Z

Many thanks, this makes our lives much easier

jaret 2021-01-27T17:42:05.062400Z

There was a lot of discussion around this. Please let us know after you have used it in anger your thoughts.

favila 2021-01-27T17:42:58.062600Z

Will do

favila 2021-01-27T17:43:44.062800Z

I will tell you that having had to hammer existing values to fit into a reasonable predicate has not been fun

jaret 2021-01-27T17:44:52.063Z

Sorry about that. Hopefully this works much better.

1๐Ÿ‘