-
Notifications
You must be signed in to change notification settings - Fork 823
Add store-gateway support to querier #2469
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
Add store-gateway support to querier #2469
Conversation
c99cad1
to
6c9ee92
Compare
6c9ee92
to
c55fe64
Compare
22e561f
to
04acb27
Compare
a6d4e1c
to
0f0e94f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent job Marco!
0f0e94f
to
8c48205
Compare
Thanks @pstibrany for your review! I've address your comments about errors wrapping/unwrapping. May you take a look, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
04c89d4
to
37b5549
Compare
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
37b5549
to
0da4003
Compare
@pstibrany I've unit tested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice test.
* Add store-gateway support to querier Signed-off-by: Marco Pracucci <marco@pracucci.com> * Fixed errors wrapping / unwrapping in blockStoreQuerier Signed-off-by: Marco Pracucci <marco@pracucci.com> * Use errors.Is() instead of errors.Unwrap() Signed-off-by: Marco Pracucci <marco@pracucci.com> * Unit tested blocksStoreQuerier.SelectSorted() Signed-off-by: Marco Pracucci <marco@pracucci.com>
What this PR does:
Following up #2458, in this PR I'm introducing the store-gateway support to queriers. Currently, store-gateways are opt-in so you can still use blocks synched/loaded in queriers (store-gateway will be made mandatory in a future PR, once we'll be confident enough with the store-gateway).
Out of the scope of this PR (to keep this PR "smaller"):
This PR is a draft because it's still lacking:
I've opened the draft to start collecting some feedback.
Which issue(s) this PR fixes:
N/A
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]