From bfd329607468521bfcd39fed03cebb9bd447bdb3 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Thu, 24 Aug 2023 20:13:28 +0200 Subject: [PATCH] store: fix ignored error in postings (#6654) Signed-off-by: Michael Hoffmann --- pkg/store/postings.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/store/postings.go b/pkg/store/postings.go index 066f52116c2..28fbf0cf01b 100644 --- a/pkg/store/postings.go +++ b/pkg/store/postings.go @@ -83,6 +83,7 @@ func (r *postingsReaderBuilder) Next() bool { _, err := r.r.Discard(int(from - r.lastOffset)) if err != nil { + r.e = err return false } r.lastOffset += from - r.lastOffset