Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mint and maxt for api/v1/series call #5966

Merged
merged 2 commits into from
Dec 14, 2022

Conversation

fpetkovski
Copy link
Contributor

@fpetkovski fpetkovski commented Dec 14, 2022

The storage querier currently uses select hints to set the start and end time of the series select rpc. The same rpc is also used for the api/v1/series API which does not produce any hints.

This commit changes the querier to use the mint and maxt from the query itself when selecting series from stores.

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

The storage querier currently uses select hints to set the start
and end time of the series select rpc. The same rpc is also used
for the api/v1/series API which does not produce any hints.

This commit changes the querier to use the mint and maxt from the
query itself when selecting series from stores.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
@GiedriusS GiedriusS merged commit e911f03 into thanos-io:main Dec 14, 2022
ngraham20 pushed a commit to ngraham20/thanos that referenced this pull request May 18, 2023
* Fix mint and maxt for api/v1/series call

The storage querier currently uses select hints to set the start
and end time of the series select rpc. The same rpc is also used
for the api/v1/series API which does not produce any hints.

This commit changes the querier to use the mint and maxt from the
query itself when selecting series from stores.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>

* Add CHANGELOG entry

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants