Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored and ti-chi-bot committed Aug 10, 2021
1 parent ca4f082 commit fc58f2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cdc/sink/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,6 @@ func (s *mysqlSink) Barrier(ctx context.Context) error {
case <-ctx.Done():
return errors.Trace(ctx.Err())
case <-ticker.C:
ticker.Reset(warnDuration)
log.Warn("Barrier doesn't return in time, may be stuck",
zap.Uint64("resolved-ts", atomic.LoadUint64(&s.maxResolvedTs)),
zap.Uint64("checkpoint-ts", s.checkpointTs()))
Expand Down

0 comments on commit fc58f2c

Please sign in to comment.