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 7, 2021
1 parent 02dd1ea commit a2b6b08
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 @@ -241,6 +241,7 @@ impl DumpTask {
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_handle, uuids, temp_dump_path.clone()).await?;
Expand Down

0 comments on commit a2b6b08

Please sign in to comment.