Skip to content

Commit

Permalink
kv (ticdc): reduce some verbose log
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed May 11, 2024
1 parent 0332357 commit 1a38104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdc/kv/shared_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ func (s *SharedClient) logSlowRegions(ctx context.Context) error {
return ctx.Err()
case <-ticker.C:
}
log.Info("event feed starts to check locked regions",
s.logRegionDetails("event feed starts to check locked regions",
zap.String("namespace", s.changefeed.Namespace),
zap.String("changefeed", s.changefeed.ID))

Expand Down Expand Up @@ -892,7 +892,7 @@ func (s *SharedClient) newSubscribedTable(
func (r *subscribedTable) resolveStaleLocks(s *SharedClient, targetTs uint64) {
util.MustCompareAndMonotonicIncrease(&r.staleLocksTargetTs, targetTs)
res := r.rangeLock.IterAll(r.tryResolveLock)
log.Warn("event feed finds slow locked ranges",
s.logRegionDetails("event feed finds slow locked ranges",
zap.String("namespace", s.changefeed.Namespace),
zap.String("changefeed", s.changefeed.ID),
zap.Any("subscriptionID", r.subscriptionID),
Expand Down

0 comments on commit 1a38104

Please sign in to comment.