Skip to content

Commit

Permalink
Merge #26620
Browse files Browse the repository at this point in the history
26620: storage: up verbosity on log message r=bdarnell a=tschottdorf

I am not sure why this was logged at Info level in the first place.
I ran into this seeing it in production logs, around 91 times per 10mb
of log.

Release note: None

Co-authored-by: Tobias Schottdorf <[email protected]>
  • Loading branch information
craig[bot] and tbg committed Jun 12, 2018
2 parents 396ea7e + 4b995bd commit 50416d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/storage/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -3396,7 +3396,9 @@ func (r *Replica) quiesce() bool {
func (r *Replica) quiesceLocked() bool {
ctx := r.AnnotateCtx(context.TODO())
if len(r.mu.proposals) != 0 {
log.Infof(ctx, "not quiescing: %d pending commands", len(r.mu.proposals))
if log.V(3) {
log.Infof(ctx, "not quiescing: %d pending commands", len(r.mu.proposals))
}
return false
}
if !r.mu.quiescent {
Expand Down

0 comments on commit 50416d0

Please sign in to comment.