Merge pull request #302 from grafana/codesome/nowarn

Do not warn on finding overlapping blocks, debug instead
This commit is contained in:
Jesus Vazquez 2022-08-02 15:52:23 +02:00 committed by GitHub
commit f537910769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1341,7 +1341,7 @@ func (db *DB) reloadBlocks() (err error) {
blockMetas = append(blockMetas, b.Meta())
}
if overlaps := OverlappingBlocks(blockMetas); len(overlaps) > 0 {
level.Warn(db.logger).Log("msg", "Overlapping blocks found during reloadBlocks", "detail", overlaps.String())
level.Debug(db.logger).Log("msg", "Overlapping blocks found during reloadBlocks", "detail", overlaps.String())
}
// Append blocks to old, deletable blocks, so we can close them.