Skip to content

Commit

Permalink
fix space
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxa21 committed Feb 22, 2024
1 parent 806185d commit 26340f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stream/src/executor/sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,7 @@ impl<F: LogStoreFactory> SinkExecutor<F> {
yield Message::Chunk(chunk);
}
Message::Barrier(barrier) => {
// No need to flush barrier to log writer when paused because
// there will be no data between pause barrier and resume barrier.
// No need to flush barrier to log writer when paused because there will be no data between pause barrier and resume barrier.
if !is_paused {
log_writer
.flush_current_epoch(barrier.epoch.curr, barrier.kind.is_checkpoint())
Expand Down

0 comments on commit 26340f1

Please sign in to comment.