This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-11
Channels
- # adventofcode (42)
- # asami (13)
- # babashka (40)
- # beginners (25)
- # calva (39)
- # cider (18)
- # circleci (6)
- # cljs-dev (3)
- # clojure (39)
- # clojure-europe (16)
- # clojure-norway (9)
- # clojure-uk (2)
- # clojurescript (42)
- # datalevin (4)
- # datomic (23)
- # fulcro (33)
- # jobs (1)
- # malli (26)
- # minecraft (1)
- # off-topic (88)
- # pedestal (3)
- # polylith (8)
- # re-frame (6)
- # remote-jobs (2)
- # shadow-cljs (20)
- # tools-deps (12)
- # xtdb (5)
I have a Lambda Datomic Ion. I am trying to use cognitect.aws.api for the API :apigwmanagenebtapi
When I do a :GetConnection
it results in this error:
. I don’t know how to resolve this. Does anyone have some insight to this/ Thanks!
I can't DNS resolve http://my.datomic.com ; wondering if this is just me
Given the two comments above, I'm wondering if there are general DNS outages going on.
@mfikes we're rolling out a new version of http://my.datomic.com. Apologies we are working on the issue right now.
@jaret Thanks! Looks like DNS might be good, but I'm seeing a 503 when attempting to pull the artifact
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact com.datomic:datomic-pro:pom:1.0.6165 from/to (): status code: 503, reason phrase: Service Unavailable (503)
We're looking into this.
Thanks @mfikes we are still getting everything wired back. Will post back where when fully resolved.
d/datoms
for :aevt
and :avet
looks the same
(d/datoms db {:index :aevt :components [:inv/color]})
(d/datoms db {:index :avet :components [:inv/color]})
gives
(#datom[87960930222155 74 "blue" 13194139533319 true])
(#datom[87960930222155 74 "blue" 13194139533319 true])
Shouldn't :avet
be
(#datom[87960930222155 "blue" 74 13194139533319 true])
I understand, but has the eavt, aevt and avet their own index? Looking at the file system, I only see log.idx.
And why do we get the whole color entity (including type and cardinality) for :eavt
?
(d/datoms db {:index :eavt :components [:inv/color]}))
(#datom[74 10 :inv/color 13194139533318 true]
#datom[74 40 23 13194139533318 true]
#datom[74 41 35 13194139533318 true])
To your first question: eavt etc are the indexes. Datomic indexes are covering indexes (ie contain all the data they index—they are not merely pointers to a shared pool). Also the indexes are on disk as blocks(nodes) arranged in a b+tree like structure, there is not a 1-1 correspondence to files
To your second: your datom call is asking for the portion of eavt where all E match :inv/color, which in your db resolves to entity 74. So this is exactly what you asked for
The first datom in that list is establishing the db ident for the entity, [74 :db/ident :inv/color TX true]
Thanks!
Each datom itself doesn't change, it's the iteration order of all datoms that changes between indices @michelemendel