fix(tsdb): correctly use bit prefix calculation in tsdb shard matching (#12394)

pull/12396/head
Owen Diehl 2 years ago committed by GitHub
parent 523b5dea5b
commit 3922d3864a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/logql/shards.go

@ -159,7 +159,7 @@ func (s *Shard) Match(fp model.Fingerprint) bool {
return v1.BoundsFromProto(s.Bounded.Bounds).Match(fp)
}
return s.PowerOfTwo.Match(fp)
return s.PowerOfTwo.TSDB().Match(fp)
}
func (s *Shard) GetFromThrough() (model.Fingerprint, model.Fingerprint) {

Loading…
Cancel
Save