Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
  • Loading branch information
krasi-georgiev committed Aug 21, 2020
1 parent 79c615f commit 8fb0fe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/query/iter.go
Expand Up @@ -582,6 +582,7 @@ func (it *dedupSeriesIterator) Next() bool {
// Advance both iterators to at least the next highest timestamp plus the potential penalty.
if it.aok {
it.aok = it.a.Seek(it.lastT + 1 + it.penA)
// When A is exhausted the seek for B below should be without any penalty
if !it.aok {
it.penB = 0
}
Expand Down

0 comments on commit 8fb0fe0

Please sign in to comment.