Skip to content

Commit

Permalink
Fix logging logic error in reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Jun 26, 2024
1 parent 41cf505 commit 57a35b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions aquadoggo/src/materializer/tasks/reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,13 @@ async fn reduce_document<O: AsOperation + WithId<OperationId> + WithPublicKey>(

let mut tasks = vec![];

// If the document was deleted, then we return nothing
if document.is_deleted() {
info!(
"Deleted {} final view {}",
document.display(),
document.view_id().display()
);
}

if document.is_edited() {
} else if document.is_edited() {
info!(
"Updated {} latest view {}",
document.display(),
Expand Down

0 comments on commit 57a35b7

Please sign in to comment.