Fork me on GitHub
#datomic
<
2019-05-14
>
mkvlr07:05:55

does datafy for rebl only work with the datomic.client.api not with datomic.api?

mkvlr08:05:37

seems to be the case, but a good and easy exercise to add it

dazld08:05:07

good morning! I’d like to migrate some entities into their own partition - at the moment, everything is in user - is retracting the entity and recreating it the only option?

danieroux09:05:28

I think someone here mention that API Gateway websockets does work through Datomic Cloud, maybe @joe.lane? Can’t search the logs right now

Joe Lane14:05:05

Are you running into problems with it?

Joe Lane15:05:18

This is absolutely possible. Just make 3 ions, one for onConnect, another for onDisconnect, and a third for onMessage (or whatever they call it).

dmarjenburgh10:05:24

I'm running into problems trying to do an ion-push from a CodeBuild container.

[Container] 2019/05/14 10:10:08 Running command clojure -A:dev -m datomic.ion.dev '{:op :push}' 
 
{:command-failed "{:op :push}", 
 :causes 
 ({:message 
   "VPC endpoints do not support cross-region requests (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 1CC05267DFB09AEF; S3 Extended Request ID: MufLOTeSWSQTUQK+kmRM43+VZatPzPGDlKR3JoAFnWm8C9V+TArQnig6xthyWoNZ/dgBNI7Tyxs=)", 
   :class AmazonS3Exception})} 
I'm not sure why the error occurs, as there are no VPC settings for the build project and it can download dependencies from the https://repo1.maven.org/maven2/ repo just fine. I suppose part of the reason is that a :push also downloads implicit dependencies every time from the datomic-releases-1fc2183a/maven/releases repo, like com/datomic/java-io/0.1.11/java-io-0.1.11.jar. Weird thing is that the following command succeeds just fine: aws s3 cp .. Anyone have any ideas?

dmarjenburgh10:05:23

I'm running in eu-west-1 while the datomic-cloud repo is (very likely) in us-east-1

marshall11:05:36

@dmarjenburgh https://forum.datomic.com/t/ions-push-deployments-automation-issues/715 this is a known issue; I haven’t been able to get it to work from us-east-1 either, though

marshall11:05:45

so it’s not limited to the s3 bucket region issue

wox18:05:54

hi, does anybody have experience deploying datomic on-prem on multi-master storage that spans multiple datacenters (for HA reasons)? Something like MariaDB Galera cluster or CockroachDB. Any tips? Or is this at all feasible?

marshall19:05:10

by definition eventually consistent cross-datacenter replications systems are unsuitable for Datomic storage

wox19:05:49

yeah, I know this, but those solutions are not eventually consistent

dmarjenburgh19:05:13

@marshall I have narrowed down the possibilities quite a bit and posted my findings in the thread (https://forum.datomic.com/t/ions-push-deployments-automation-issues/715). Interesting that it didn’t work for us-east-1, as my minimum reproducible case did work for buckets in the same region.

marshall19:05:10

@dmarjenburgh it may be worth following up with AWS support directly with the specific error code that you get; they may be able to determine what permission or issue is causing the failure