Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
90065: kvserver: reduce log spam during export throttling r=irfansharif a=irfansharif

Fixes cockroachdb#89076.

Release note: None

Co-authored-by: irfan sharif <[email protected]>
  • Loading branch information
craig[bot] and irfansharif committed Oct 17, 2022
2 parents ca643e2 + 39d935c commit dccfc47
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 dccfc47

Please sign in to comment.