From d39d9d16bb0707d69e0a89ddf6ae75e31c59b778 Mon Sep 17 00:00:00 2001 From: Owen Diehl Date: Thu, 28 Mar 2024 16:19:24 -0700 Subject: [PATCH 1/3] correctly use bit prefix calculation in tsdb shard matching Signed-off-by: Owen Diehl --- pkg/logql/shards.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/logql/shards.go b/pkg/logql/shards.go index 7ca7f67cb367d..7d35cea26d761 100644 --- a/pkg/logql/shards.go +++ b/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) { From fd409c0f11e926250cabb4b2010c6d59d3fb8c42 Mon Sep 17 00:00:00 2001 From: Owen Diehl Date: Thu, 28 Mar 2024 16:37:55 -0700 Subject: [PATCH 2/3] bump license in ci Signed-off-by: Owen Diehl From 393866c63f90242d4c7c5819e9141ed9c0f03372 Mon Sep 17 00:00:00 2001 From: Owen Diehl Date: Thu, 28 Mar 2024 17:07:02 -0700 Subject: [PATCH 3/3] bump license in ci pls Signed-off-by: Owen Diehl