Skip to content

Commit

Permalink
store/tikv: Change log level of "skipping garbage collection" message (
Browse files Browse the repository at this point in the history
  • Loading branch information
kolbe authored and zz-jason committed Mar 30, 2019
1 parent a3ff679 commit b758907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/tikv/gcworker/gc_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ func (w *GCWorker) checkGCInterval(now time.Time) (bool, error) {
}

if lastRun != nil && lastRun.Add(*runInterval).After(now) {
logutil.Logger(context.Background()).Info("[gc worker] gc interval haven't past since last run, no need to gc",
logutil.Logger(context.Background()).Debug("[gc worker] skipping garbage collection because gc interval hasn't elapsed since last run",
zap.String("leaderTick on", w.uuid),
zap.Duration("interval", *runInterval),
zap.Time("last run", *lastRun))
Expand Down

0 comments on commit b758907

Please sign in to comment.