Skip to content

Commit

Permalink
storage: up verbosity on log message
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tbg committed Jun 12, 2018
1 parent 0586c83 commit 4b995bd
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 4b995bd

Please sign in to comment.