mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
Merge #1787
1787: Handle empty dump r=MarinPostma a=irevoire Fixes #1701 Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
d905bbf961
@ -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…
Reference in New Issue
Block a user