-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Redis Transport does not create a stream #31791
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
Comments
if I remove last argument from what does that argument mean? I don't see it in the arguments list |
What is the version of redis and phpredis installed on your debian server? |
@chalasr redis is 5.0.3, php and php-redis extension is 7.3.6 |
Ok, same issue, unable to upgrade to 4.3 in production. Probably related to oerdnj/deb.sury.org#1184 |
Confirmed, the transport works fine with phpredis 4.3 but produces segfault with phpredis 4.2. I'm going to add a check in the transport. |
…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/a Lower versions lead to segmentation faults. Commits ------- 07603da [Messenger] Add runtime check for ext redis version
Symfony version(s) affected: 4.3
Description
Redis transport does not create a stream and when messenger tries to consume messages it fails with
NOGROUP No such key 'msgssls' or consumer group 'symfony' in XREADGROUP with GROUP option
although line
$this->connection->xgroup('CREATE', $this->stream, $this->group, 0, true);
is executed in Symfony\Component\Messenger\Transport\RedisExt\Connectionno command is issued in redis.
If I create stream manually like this
"XGROUP" "CREATE" "msgssls" "symfony" "0" "MKSTREAM"
it processes 1 message and then gives Segmentation fault.This works fine on my mac, but fails on debian server.
The text was updated successfully, but these errors were encountered: