Merge pull request #2681 from prometheus/grobie/reduce-noisy-append-errors

Handle errSeriesDropped correctly
This commit is contained in:
Fabian Reinartz 2017-05-24 15:30:02 +02:00 committed by GitHub
commit 025f5531ad
1 changed files with 1 additions and 0 deletions

View File

@ -639,6 +639,7 @@ loop:
case storage.ErrNotFound: case storage.ErrNotFound:
ok = false ok = false
case errSeriesDropped: case errSeriesDropped:
err = nil
continue continue
case storage.ErrOutOfOrderSample: case storage.ErrOutOfOrderSample:
sl.l.With("timeseries", string(met)).Debug("Out of order sample") sl.l.With("timeseries", string(met)).Debug("Out of order sample")