correctly set block iter when no overlapping blocks are found (#11973)

pull/11930/head
Owen Diehl 1 year ago committed by GitHub
parent 87ae2efe41
commit f158b5bc3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/bloomcompactor/batch.go

@ -285,6 +285,7 @@ func (i *blockLoadingIter) Filter(filter func(*bloomshipper.CloseableBlockQuerie
func (i *blockLoadingIter) loadNext() bool {
// check if there are more overlapping groups to load
if !i.overlapping.Next() {
i.iter = v1.NewEmptyIter[*v1.SeriesWithBloom]()
return false
}

Loading…
Cancel
Save