From f61b678609413813e5de0f834666f30c53dfec7a Mon Sep 17 00:00:00 2001 From: Tobias Grieger Date: Tue, 23 Aug 2022 10:57:01 +0200 Subject: [PATCH] kvserver: remove accidentally committed debug logging Randomly saw this. It was accidentally introduced in #85629. Release justification: low-risk logging fix Release note: None --- pkg/kv/kvserver/store.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/kv/kvserver/store.go b/pkg/kv/kvserver/store.go index 98d01b712a7d..b11490877a89 100644 --- a/pkg/kv/kvserver/store.go +++ b/pkg/kv/kvserver/store.go @@ -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,