Skip to content

Commit

Permalink
kvserver: remove accidentally committed debug logging
Browse files Browse the repository at this point in the history
Randomly saw this. It was accidentally introduced in #85629.

Release justification: low-risk logging fix
Release note: None
  • Loading branch information
tbg committed Aug 23, 2022
1 parent cf533b0 commit f61b678
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/kv/kvserver/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3012,9 +3012,6 @@ func (s *Store) Capacity(ctx context.Context, useCached bool) (roachpb.StoreCapa
if wps, dur := r.loadStats.writeKeys.AverageRatePerSecond(); dur >= replicastats.MinStatsDuration {
totalWritesPerSecond += wps
writesPerReplica = append(writesPerReplica, wps)
} else {
replCtx := r.AnnotateCtx(ctx)
log.Infof(replCtx, "xxx: dur=%s wps=%f", dur, wps)
}
rankingsAccumulator.addReplica(replicaWithStats{
repl: r,
Expand Down

0 comments on commit f61b678

Please sign in to comment.