aboutsummaryrefslogtreecommitdiff
path: root/cache/src/bin/cache_fs_to_rocksdb.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cache/src/bin/cache_fs_to_rocksdb.rs')
-rw-r--r--cache/src/bin/cache_fs_to_rocksdb.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache/src/bin/cache_fs_to_rocksdb.rs b/cache/src/bin/cache_fs_to_rocksdb.rs
index 0a3b43d..0c9900c 100644
--- a/cache/src/bin/cache_fs_to_rocksdb.rs
+++ b/cache/src/bin/cache_fs_to_rocksdb.rs
@@ -16,6 +16,7 @@ fn main() -> Result<()> {
bail!("path needs to end with /")
}
traverse(&db, &in_path, in_path.as_ref())?;
+ db.flush()?;
Ok(())
}