From 9eaca3cf9205f9a3f544946e1f811dec2111eb93 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Thu, 24 Aug 2023 19:05:07 +0200 Subject: [PATCH] wip: fix ignored error in postings --- 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