-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Query frontend crashing when ttl specified in cache config #6996
Comments
Oh damn, did it work on 0.32.5? I think we unified cache configs but frontend parses stricter then bucket caches. |
I haven't tried in with 0.32.5, AFAIK this was added in #6773 which was part of 0.33.0 |
Hello @hagaibarel , The query-frontend does not have a ttl config for its cache, but an expiration :/ |
Thanks @ahurtaud for clearing that up, are you aware of any plans to unify the configuration? |
no, not aware. it should be done I think to avoid confusion |
I agree! Do you mind opening a pull request for it? |
I dont feel I have the time currently to do it sorry. |
I would accept both and then error if both were provided i think. Ill see if i can muster some time on the weekend! |
We should definitely unify configurations at some point. The current QFE cache config is from Cortex code so not the same cache client code. |
Thanos, Prometheus and Golang version used:
Thanos -
quay.io/thanos/thanos:v0.33.0
(deployed on kubernetes)Prometheus / Golang = N/A
Object Storage Provider:
GCS
What happened:
Specifying
ttl
in theredis
cache config causes query fronted to fail to start with an exceptionWhat you expected to happen:
Normal startup
How to reproduce it (as minimally and precisely as possible):
Start query frontend with the following redis config:
Full logs to relevant components:
The text was updated successfully, but these errors were encountered: