From 5c492031d9155139191e1b175259db86f7aead06 Mon Sep 17 00:00:00 2001 From: Many the fish Date: Wed, 11 Dec 2024 14:34:18 +0100 Subject: [PATCH] Update crates/meilitool/src/upgrade/v1_12.rs Co-authored-by: Louis Dureuil --- crates/meilitool/src/upgrade/v1_12.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/meilitool/src/upgrade/v1_12.rs b/crates/meilitool/src/upgrade/v1_12.rs index 77060d90d..85fb41472 100644 --- a/crates/meilitool/src/upgrade/v1_12.rs +++ b/crates/meilitool/src/upgrade/v1_12.rs @@ -69,6 +69,7 @@ fn convert_update_files(db_path: &Path) -> anyhow::Result<()> { "while flushing update file bufwriter for update file {update_file_path:?}" ))?; let _ = file + // atomically replace the obkv file with the rewritten NDJSON file .persist(&update_file_path) .with_context(|| format!("while persisting update file {update_file_path:?}"))?; }