-
How can modify this config to enable RocksDB backend https://github.com/xtdb/xtdb/blob/2.x/docker/xtdb.edn The old config from v1, doesn't seem to work.
with error
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @trickster 👋 The architecture for v2 is a little different - rather than the document-store and index-store we now just have an 'object-store', so RocksDB will no longer be necessary. We're yet to write up the documentation for anything apart from in-memory use cases, but we do have an on-disk transaction-log and document-store available - you could try the following: (let [node-dir (io/file "/tmp/xt2")]
{:xtdb.log/local-directory-log {:root-path (io/file node-dir "log")}
:xtdb.object-store/file-system-object-store {:root-path (io/file node-dir "objects")}}) Please do bear in mind that the on-disk formats are still subject-to-change through the early access - best not to rely on backwards-compatibility or durability between snapshot versions! Cheers, James |
Beta Was this translation helpful? Give feedback.
Hey @trickster 👋
The architecture for v2 is a little different - rather than the document-store and index-store we now just have an 'object-store', so RocksDB will no longer be necessary.
We're yet to write up the documentation for anything apart from in-memory use cases, but we do have an on-disk transaction-log and document-store available - you could try the following:
Please do bear in mind that the on-disk formats are still subject-to-change through the early access - best not to rely on …