Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Cache] Add support forvalkey:
/valkeys:
schemes#59869
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
2153d49
tobcd9500
Comparevalkey:
/valkeys:
schemesvalkey:
/valkeys:
schemesUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
7ba1fdf
to90c665c
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
@@ -174,28 +174,24 @@ public static function createConnection(#[\SensitiveParameter] string $dsn, arra | |||
$params += $query + $options + self::$defaultConnectionOptions; | |||
if (isset($params['redis_sentinel']) && isset($params['sentinel_master'])) { |
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 removes the fact that you cannot use those options together. You know silently ignoreredis_sentinel
whensentinel_master
(or the newsentinel
) is set. Doesn't this introduce a potential WTF debugging moment if$query
and$options
both configure this using different names for instance ?
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.
I don't think the exception is useful so I still prefer removing it.
I improved the merging logic to account for this case.
src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RedisExtIntegrationTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Comments addressed@stof, thanks for the review. |
ea420d0
to9ff20c0
CompareThank you@nicolas-grekas. |
db5108d
intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Valkey is getting a lot of traction, so let's support it as a new scheme (I'm not much into renaming everything :) )