Browse Source

tsdb: writePostingsToTmpFiles returns nil instead of err (#6618)

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/6622/head
Julien Pivotto 5 years ago committed by Brian Brazil
parent
commit
0cff72d756
  1. 2
      tsdb/index/index.go

2
tsdb/index/index.go

@ -861,7 +861,7 @@ func (w *Writer) writePostingsToTmpFiles() error {
// Skip to next series.
d.Skip(l - (startLen - d.Len()) + crc32.Size)
if err := d.Err(); err != nil {
return nil
return err
}
}

Loading…
Cancel
Save