Skip to content

Commit

Permalink
fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Jul 6, 2024
1 parent a360429 commit c178238
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/corro-agent/src/agent/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ pub async fn process_fully_buffered_changes(
}).map_err(|source| ChangeError::Rusqlite{source, actor_id: Some(actor_id), version: Some(version)})?;

debug!(%actor_id, %version, "inserted bookkeeping row after buffered insert");

Some(db_version)
} else {
store_empty_changeset(
&tx,
Expand All @@ -638,6 +640,7 @@ pub async fn process_fully_buffered_changes(
Timestamp::from(agent.clock().new_timestamp()),
)?;
debug!(%actor_id, %version, "inserted CLEARED bookkeeping row after buffered insert");
None
};

let mut snap = bookedw.snapshot();
Expand Down

0 comments on commit c178238

Please sign in to comment.