Skip to content

Commit

Permalink
fix: confirm index entry delete in log
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Lilleengen committed Sep 29, 2023
1 parent 1a25adf commit 9e635ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ impl<'a, INDEX: Index> Indexer<'a, INDEX> {
EventType::Delete => {
let (_, key) = Storage::key_from_event(&data)?;
block_in_place(|| writer.as_mut().unwrap().delete_document(self.index.index(), key.as_str()));
log::debug!("Deleted entry '{key}' from index");
log::info!("Deleted entry '{key}' from index");
events += 1;
}
_ => log::debug!("Non (PUT | DELETE) event ({:?}), skipping", data),
Expand Down

0 comments on commit 9e635ed

Please sign in to comment.