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

[Messenger] Add missing runtime check for ext redis version#31872

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
fabpot merged 1 commit intosymfony:4.3fromchalasr:redis-version-check
Jun 5, 2019

Conversation

@chalasr
Copy link
Member

QA
Branch?4.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31791
LicenseMIT
Doc PRn/a

Lower versions lead to segmentation faults.

@chalasr
Copy link
MemberAuthor

Build failure is unrelated.

private$autoSetup;
private$couldHavePendingMessages =true;

publicfunction__construct(array$configuration,array$connectionCredentials = [],array$redisOptions = [],\Redis$redis =null)

Choose a reason for hiding this comment

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

unrelated, but we missed making this class compatible with other kind of redis instances: RedisArray, RedisCluser, RedisProxy and RedisClusterProxy

Copy link
Member

Choose a reason for hiding this comment

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

are they compatible with redis streams ?

Choose a reason for hiding this comment

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

I think so, because in the end this is just a key.https://redis.io/topics/streams-intro also mentions clusters. But I didn't try, so maybe not. Yet the hardcoded signature would be a blocker for the future.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I will give it a try and drop the typehint in favor of a check anyways.

@fabpot
Copy link
Member

Thank you@chalasr.

@fabpotfabpot merged commit07603da intosymfony:4.3Jun 5, 2019
fabpot added a commit that referenced this pull requestJun 5, 2019
…n (chalasr)This PR was merged into the 4.3 branch.Discussion----------[Messenger] Add missing runtime check for ext redis version| Q             | A| ------------- | ---| Branch?       | 4.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#31791| License       | MIT| Doc PR        | n/aLower versions lead to segmentation faults.Commits-------07603da [Messenger] Add runtime check for ext redis version
@chalasrchalasr deleted the redis-version-check branchJune 5, 2019 16:14
@fabpotfabpot mentioned this pull requestJun 6, 2019
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull requestJun 13, 2019
This PR was merged into the 4.3 branch.Discussion----------Redis 4.3 is requiredSeesymfony/symfony#31872But also the conversation onsymfony/messenger@47d2b91So, I'm not actually sure if that commit is correct and the docs should be updated, or if that commit is wrong. Opening this up to at least have some placeholder to figure that out.Commits-------c76afd3 Redis 4.3 is required
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@stofstofstof approved these changes

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

5 participants

@chalasr@fabpot@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp