Skip to content

Commit

Permalink
Fixed and added more regressions tests for reset counter dedup bug.
Browse files Browse the repository at this point in the history
Fixes #2401

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Apr 27, 2020
1 parent 44060b1 commit 78139fb
Show file tree
Hide file tree
Showing 3 changed files with 869 additions and 57 deletions.
2 changes: 1 addition & 1 deletion pkg/query/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type queryable struct {

// Querier returns a new storage querier against the underlying proxy store API.
func (q *queryable) Querier(ctx context.Context, mint, maxt int64) (storage.Querier, error) {
return newQuerier(ctx, q.logger, mint, maxt, q.replicaLabels, q.proxy, q.deduplicate, int64(q.maxResolutionMillis), q.partialResponse, q.skipChunks), nil
return newQuerier(ctx, q.logger, mint, maxt, q.replicaLabels, q.proxy, q.deduplicate, q.maxResolutionMillis, q.partialResponse, q.skipChunks), nil
}

type querier struct {
Expand Down
Loading

0 comments on commit 78139fb

Please sign in to comment.