Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Apr 2, 2024
1 parent fe1021e commit f7c5a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream/src/common/compact_chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ impl<'a> OpRowMutRefTuple<'a> {
(Op::Insert, Op::Insert) => {
consistency_panic!("receive duplicated insert on the stream");
// If need to tolerate inconsistency, override the previous insert.
// Note that becasue the primary key constraint has been violated, we
// Note that because the primary key constraint has been violated, we
// don't mind losing some data here.
self.prev.set_vis(false);
self.prev = curr;
}
(Op::Delete, Op::Delete) => {
consistency_panic!("receive duplicated delete on the stream");
// If need to tolerate inconsistency, override the previous delete.
// Note that becasue the primary key constraint has been violated, we
// Note that because the primary key constraint has been violated, we
// don't mind losing some data here.
self.prev.set_vis(false);
self.prev = curr;
Expand Down

0 comments on commit f7c5a77

Please sign in to comment.