This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-17
Channels
- # ai (1)
- # announcements (1)
- # aws (38)
- # babashka (25)
- # beginners (84)
- # biff (11)
- # calva (58)
- # clerk (14)
- # clj-kondo (14)
- # cljdoc (9)
- # cljs-dev (2)
- # clojars (2)
- # clojure (93)
- # clojure-czech (2)
- # clojure-dev (13)
- # clojure-europe (19)
- # clojure-nl (1)
- # clojure-spec (13)
- # clojure-uk (2)
- # clojurescript (6)
- # conjure (1)
- # core-async (9)
- # cursive (12)
- # data-science (7)
- # datahike (47)
- # datalevin (10)
- # datalog (3)
- # datomic (35)
- # emacs (3)
- # events (4)
- # fulcro (49)
- # gratitude (7)
- # humbleui (1)
- # hyperfiddle (42)
- # jobs-discuss (19)
- # kaocha (5)
- # lsp (20)
- # malli (3)
- # meander (2)
- # membrane (2)
- # off-topic (22)
- # pathom (2)
- # polylith (14)
- # practicalli (1)
- # rdf (3)
- # reitit (2)
- # shadow-cljs (11)
- # squint (3)
- # tools-deps (32)
- # vim (9)
- # xtdb (16)
How often does datahike persist data to disk? I want to migrate my datahike server to a new cloud
I am not the one that is qualified to answer but I guess it depends on how much you transact. @UB95JRKM3 @j.massa @U1C36HC6N
The data is indeed persisted to the konserve backend on every transaction, so there shouldn't be a problem moving the data with the file backend. I can't say anything about other backends though or specifics of datahike-server.
huh :thinking_face: I guess then all backends should do the same. at least from what I know.
well, other external backends are basically services themselves, so it depends on when they persist their data to disk
Then you should be good without any further action
I checked last night. I'm on 0.1510. It's definitely not syncing. I connected 3 datahike-server instances. And they didn't have the same data.
I'm on datahike 0.1510. I connected 3 different datahike-servers to the same mysql db.
The running instance has the most up to date data. The other two are quite far behind.
Datahike did not update the pointer when transacting data on another instance, you need https://github.com/replikativ/datahike/releases/tag/0.6.1539
but keep in mind when reading and transacting from different server instances you have inconsistencies
I don't plan on doing both at the same time. It's just when I want to switch providers. I can power down one and move to another.
Thanks. I'm trying to update datahike-jdbc but I'm getting a whole bunch of error. I'm not too familar with deps.edn but my guess is that the pom isn't reflecting what's in the deps.edn
If I don't add
com.github.seancorfield/next.jdbc {:mvn/version "1.3.874"}
com.mchange/c3p0 {:mvn/version"0.9.5.5"}
It gives me a class not found errorWhat I mean is: That command generates a pom.xml. Presumably it runs before deploying to clojars.
The current pom.xml doesn't match deps.edn in the repo. Which means clojars doesn't have the required deps either
when you look at the circleci/config you can see that first the pom is updated and then the jar is built. To avoid confusion the pom should not have dependencies in it. somehow it got committed. but from what I see the jar is always built with updated pom.xml even if not committed to the git repo.
I assume that clojars is pulling the deps from the repo not from the built jar. don't know why though
looks better now https://clojars.org/io.replikativ/konserve-jdbc