mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Update crates/meilitool/src/upgrade/v1_12.rs
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
parent
c614d0dd35
commit
5c492031d9
1 changed files with 1 additions and 0 deletions
|
@ -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:?}"))?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue