Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
st1page committed Jul 18, 2024
1 parent a389507 commit 2a0642a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stream/src/executor/watermark_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ impl<S: StateStore> WatermarkFilterExecutor<S> {
if idle_input {
barrier_num_during_idle += 1;

if barrier_num_during_idle == UPDATE_GLIOBAL_WATERMARK_FREQUENCY_WHEN_IDLE {
if barrier_num_during_idle
== UPDATE_GLIOBAL_WATERMARK_FREQUENCY_WHEN_IDLE
{
barrier_num_during_idle = 0;
// Align watermark
// NOTE(st1page): Should be `NoWait` because it could lead to a degradation of concurrent checkpoint situations, as it would require waiting for the previous epoch
Expand Down

0 comments on commit 2a0642a

Please sign in to comment.