Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <[email protected]>
  • Loading branch information
yeya24 committed Mar 27, 2024
1 parent 466f4ce commit 7ae04ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/store/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -1224,8 +1224,9 @@ OUTER:
if lazyExpandedPosting {
b.expandedPostings = append(b.expandedPostings, postingsBatch[i])
}
// Even though there is no chunks found in the requested time range, we need to continue
// for loop after checking lazy posting matchers because of the expanded postings cache.
// If lazy expanded postings enabled, due to expanded postings cache, we need to
// make sure we check lazy posting matchers and update expanded postings before
// going to next series.
if !hasMatchedChunks {
continue
}
Expand Down

0 comments on commit 7ae04ca

Please sign in to comment.