mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix a bug in the generation of empty dumps
This commit is contained in:
parent
24eef577c5
commit
5e3a53b576
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ where
|
|||
let mut meta_file = File::create(&meta_path)?;
|
||||
serde_json::to_writer(&mut meta_file, &meta)?;
|
||||
|
||||
create_dir_all(&temp_dump_path.join("indexes")).await?;
|
||||
let uuids = self.index_resolver.dump(temp_dump_path.clone()).await?;
|
||||
|
||||
UpdateMsg::dump(&self.update_sender, uuids, temp_dump_path.clone()).await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue