This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-05
Channels
- # asami (13)
- # aws (7)
- # babashka (4)
- # beginners (16)
- # biff (7)
- # cljdoc (10)
- # clojure (32)
- # clojure-europe (27)
- # clojure-nl (14)
- # clojure-norway (7)
- # clojure-uk (3)
- # clojurescript (2)
- # conjure (2)
- # core-async (13)
- # datalevin (4)
- # datomic (3)
- # holy-lambda (7)
- # kaocha (3)
- # lsp (23)
- # off-topic (39)
- # pedestal (10)
- # portal (5)
- # practicalli (2)
- # rdf (10)
- # releases (1)
- # shadow-cljs (66)
- # tools-deps (146)
- # uncomplicate (1)
- # xtdb (10)
I have a really strange issue. I’ve been building up a DB over time and it has suddenly stopped working - eg. when I query to find something that I’ve transacted, it doesn’t find it. I think that at a certain point the entity ids have stopped incrementing, leading to all sorts of problems with data being overwritten etc.
(:tx-data (d/transact! conn [{:a 1}]))
=> [#datalevin/Datom[536921769 :a 1]]
(:tx-data (d/transact! conn [{:b 1}]))
=> [#datalevin/Datom[536921769 :b 1]]
The entity id for new data is always 536921769. If I transact that same data against a new database then I get different entity ids.
Am I hitting a limit somewhere?