Skip to content

Commit

Permalink
fix a bug in the generation of empty dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
irevoire committed Oct 25, 2021
1 parent 24eef57 commit 5e3a53b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meilisearch-lib/src/index_controller/dump_actor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down

0 comments on commit 5e3a53b

Please sign in to comment.