Skip to content

Commit 474d4b5

Browse files
author
Thor
committed
ignore eof errors on block sync
Signed-off-by: Thor <[email protected]>
1 parent 72ca7e4 commit 474d4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/querier/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func NewBlockQuerier(s3cfg s3.Config, r prometheus.Registerer) (*BlockQuerier, e
5252
stopc := make(chan struct{})
5353
go runutil.Repeat(30*time.Second, stopc, func() error {
5454
ts := time.Now()
55-
if err := us.SyncStores(context.Background()); err != nil {
55+
if err := us.SyncStores(context.Background()); err != nil && err != io.EOF {
5656
level.Warn(util.Logger).Log("msg", "sync stores failed", "err", err)
5757
}
5858
b.syncTimes.Observe(time.Since(ts).Seconds())

0 commit comments

Comments
 (0)