-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Lock] Make sure RedisStore will also support Valkey #59488
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
Conversation
Thanks for digging this. Let's merge it as a bugfix still. 👍 for 7.2 on my side. |
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.
// $this->redis is just $redis: '@snc_redis.default' from services.yml
OK, so you'd need to fix your connection service in "no exceptions" mode to be compatible with the implementation.
The patch LGTM now, just minor things.
Thank you @PatNowak. |
If we want to be reliable regarding changes to the wording of error messages, shouldn't we use only |
Yeah, we should check the prefix to be And they link to the documentation saying only the first word should be matched if possible. So while this fixes the issue with Valkey it can probably be a bit more robust. |
As the change happened on Valkey (https://github.com/valkey-io/valkey/pull/617/files#diff-1abc5651133d108c0c420d9411925373c711133e7748d9e4f4c97d5fb543fdd9L1819-R1819),
it's hard to consider this a bug whenRedisStore
was meant only to support Redis ;)