grafana/mimir

Validate -blocks-storage.bucket-store.ignore-blocks-within when running in monolithic mode

Open

#2,675 建立於 2022年8月9日

在 GitHub 查看
 (3 留言) (2 反應) (0 負責人)Go (808 fork)auto 404
ease-of-usehacktoberfest

倉庫指標

Star
 (5,181 star)
PR 合併指標
 (PR 指標待抓取)

描述

I'm seeing help requests from several people lowering -querier.query-store-after without changing -blocks-storage.bucket-store.ignore-blocks-within, causing some queries to fail with "consistency check failed" errors.

We should validate -blocks-storage.bucket-store.ignore-blocks-within setting to make sure it has been set to a value lower than -querier.query-store-after minus a delta (in jsonnet we used a 2h delta).

Unfortunately, -querier.query-store-after is set on the querier, while -blocks-storage.bucket-store.ignore-blocks-within is set on the store-gateway, so there's no reliable way to validate it when running in microservices mode. However, we could at least validate it when running monolithic mode.

貢獻者指南