Skip to content

Commit

Permalink
kvserver: reduce log spam during export throttling
Browse files Browse the repository at this point in the history
Fixes cockroachdb#89076.

Release note: None
  • Loading branch information
irfansharif committed Oct 17, 2022
1 parent 9281a67 commit 39d935c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/store_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (s *Store) maybeThrottleBatch(
waited := timeutil.Since(before)
s.metrics.ExportRequestProposalTotalDelay.Inc(waited.Nanoseconds())
if waited > time.Second {
log.Infof(ctx, "Export request was delayed by %v", waited)
log.VEventf(ctx, 1, "export request was delayed by %v", waited)
}
return res, nil

Expand Down

0 comments on commit 39d935c

Please sign in to comment.