-
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
Redis client can't connect to server #6018
Comments
Answered this in that discussion post. For this usecase we should upgrade go-redis library. But it looks like it is not backward compatible so if we upgrade it it breaks redis 6.x. |
Temporarly I downgraded your redis cluister to 6.2.8 since it is only used for thanos. Now it is working like a charm. Ty for your help. |
Why does the Store Gateway works w/ Redis 7 and the Query Frontend does not? |
Would it be an option to use this Redis client (https://github.com/rueian/rueidis) via the |
Yeah it would be great to use the same rueidis client in query frontend redis cache as well. |
@yeya24 I'm working on a PR targeting the use of |
Hi, Recently tried to enable redis cache for query-frontend component - it failed with this error:
@douglascamata suggested there might be incompatibility between client and server, so I tried these redis versions but none of them succeeded (same error):
I was unable to test with <6.0 because to operator I'm using to deploy redis to k8s is not supporting such old versions ;) Thanos 0.31.0 |
After some back and forth with @michalschott in Slack, he found out that most of his problems come from using a Redis Cluster for HA. So for anyone out there using Redis Cluster: you have to leave the DB unset, otherwise it'll fail with an error like so: |
I get errors using a v6 redis cluster with query frontend even with the db unset. Example errors
This occurs when pointing query frontend at the same AWS Elasticache cluster I use for the store component. Happy to open a separate issue if needed. |
Hey folks, can you try again after #6520 got merged? Should be fixed, I believe. |
not working for me with exact same config for store gateway |
Discussed in #6013
Originally posted by Supporterino January 3, 2023
Hello guys,
I am just updating my thanos stack to
v0.30.0
and want to switch over to redis as the cache provider. I set up a redis cluster on version v7 with the bitnami helm chart. I am using the following cache configuration (as example query-range cache):But my redis instance isn't getting any load and the query frontend just logs the following:
What exactly am I missing ?
The text was updated successfully, but these errors were encountered: