Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Cache] Fix support for Redis Sentinel using php-redis 6.0.0#51683

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

Merged
nicolas-grekas merged 1 commit intosymfony:5.4fromQonstrukt:php-redis-6-support
Sep 19, 2023

Conversation

@Qonstrukt
Copy link
Contributor

@QonstruktQonstrukt commentedSep 18, 2023
edited
Loading

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#51678
LicenseMIT

Added support forphp-redis 6.0.0 toSymfony/Component/Cache/Traits/RedisTrait.

Made changes to howRedisSentinel is constructed, which now usesthe same constructor as the mainRedis class. Didn't find any other changes that might be relevant yet, but it's why I mention Redis Sentinel explicitly.

'host' =>$host,
'port' =>$port,
'connectTimeout' =>$params['timeout'],
'persistent' =>$params['persistent_id'],
Copy link
ContributorAuthor

@QonstruktQonstruktSep 18, 2023
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

There is noconnect orpconnect call usingRedisSentinel. So the decision of being persistent or not is being take by this value beingnull or set to astring. Not sure why it was converted tostring before, but this works perfectly fine on my environment (without persistence) at least.

@nicolas-grekas
Copy link
Member

Thank you@Qonstrukt.

Qonstrukt reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas merged commitc0fbe7f intosymfony:5.4Sep 19, 2023
@nicolas-grekasnicolas-grekas added this to the5.4 milestoneSep 25, 2023
nicolas-grekas added a commit that referenced this pull requestSep 28, 2023
This PR was merged into the 6.4 branch.Discussion----------[Cache] Fix two initializations of Redis Sentinel| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | n/a| License       | MITAfter#51687 and#51683 have been merged, there are now two initializations of Redis Sentinel, which also leads to the integration test failure mentioned in [this comment](#51687 (comment)). This PR fixes this.Commits-------2d23a1b [Cache] Fix two initializations of Redis Sentinel
This was referencedSep 30, 2023
nicolas-grekas added a commit that referenced this pull requestNov 21, 2023
… 6.0.0 (pepeh)This PR was squashed before being merged into the 6.3 branch.Discussion----------[Messenger] Fix support for Redis Sentinel using php-redis 6.0.0| Q             | A| ------------- | ---| Branch?       | 6.3| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#52487| License       | MITAdded support for [php-redis 6.0.0](https://github.com/phpredis/phpredis/blob/develop/CHANGELOG.md#600---2023-09-09-github-pecl) to Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.A similar fix was done for RedisTrait before:#51683Commits-------42a80db [Messenger] Fix support for Redis Sentinel using php-redis 6.0.0
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

Assignees

No one assigned

Labels

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@Qonstrukt@nicolas-grekas@stof

[8]ページ先頭

©2009-2025 Movatter.jp