about summary refs log tree commit diff
path: root/tvix/store/src/utils.rs
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2024-08-01T15·03+0300
committerclbot <clbot@tvl.fyi>2024-08-04T13·58+0000
commit480a8106cf4761658e624fb05d6e639702bdda1a (patch)
tree1fa4bc61af9a3afc3878c3c14d759f5c10a5837c /tvix/store/src/utils.rs
parent26129c1761259290cf47de4358a90f3608fe83ae (diff)
feat(tvix/store): Sled{PathInfo,Directory}Service -> Redb… r/8442
Use redb instead of sled for the default filesystem implementation of
PathInfoService and DirectoryService. In the future we'll also drop sled
support completely.

Change-Id: I513ff0c2ff953d59714aa50b9aa1301b02f53d40
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12085
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/utils.rs')
-rw-r--r--tvix/store/src/utils.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/utils.rs b/tvix/store/src/utils.rs
index 4b07b35d694c..c550ad365ed7 100644
--- a/tvix/store/src/utils.rs
+++ b/tvix/store/src/utils.rs
@@ -41,11 +41,11 @@ pub struct ServiceUrls {
     #[arg(
         long,
         env,
-        default_value = "sled:///var/lib/tvix-store/directories.sled"
+        default_value = "redb:///var/lib/tvix-store/directories.redb"
     )]
     directory_service_addr: String,
 
-    #[arg(long, env, default_value = "sled:///var/lib/tvix-store/pathinfo.sled")]
+    #[arg(long, env, default_value = "redb:///var/lib/tvix-store/pathinfo.redb")]
     path_info_service_addr: String,
 
     /// Path to a TOML file describing the way the services should be composed