This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-09
Channels
- # announcements (10)
- # aws (7)
- # babashka (28)
- # babashka-sci-dev (53)
- # beginners (11)
- # clojure (43)
- # clojure-europe (100)
- # clojure-morsels (1)
- # clojure-nl (2)
- # clojure-norway (6)
- # clojure-russia (2)
- # clojure-spec (13)
- # clojure-uk (7)
- # clojurescript (13)
- # conjure (21)
- # datalevin (3)
- # emacs (46)
- # etaoin (4)
- # events (2)
- # fulcro (36)
- # graphql (7)
- # gratitude (1)
- # interceptors (13)
- # jobs-discuss (3)
- # kaocha (13)
- # membrane (3)
- # minecraft (2)
- # nbb (8)
- # off-topic (135)
- # pathom (30)
- # podcasts-discuss (1)
- # re-frame (24)
- # releases (1)
- # shadow-cljs (26)
- # sql (16)
- # squint (6)
- # tools-deps (4)
- # xtdb (8)
How do you handle fixtures and migrations with xtdb? In SQL I would have SQL files to seed testing environments with some data, and go with migratus
The only discussion / mention of the topic I found was https://clojurians-log.clojureverse.org/xtdb/2021-11-14 but I was wondering if there are new developments or ideas
hey @U8ZQ1J1RR 👋 not dissimilar for XT, in our experience - in the repo, for example, we have an https://github.com/xtdb/xtdb/blob/master/test/resources/data/james-bond.edn of sample data, and then a https://github.com/xtdb/xtdb/blob/master/core/test/xtdb/pull_test.clj#L8-L13 to pull it into an in-memory node
Hiii 👋 I'm looking at the docs for Checkpointing and I have some questions 😄 https://docs.xtdb.com/administration/1.21.0/checkpointing/ Does this only checkpoint the indices, or does it also include the whole history? Can I use this to restore a database, or only to add nodes to an existing one?
it's only the indices, a checkpoint is just a full copy of the rocksdb directory along with some edn metadata
Hey @U07FP7QJ0 👋 Checkpointing's only intended for the indices, as a means of getting nodes joining the cluster to start faster.