10000 Check for `dragonfly_version` in `HELLO` response by michael-grunder · Pull Request #2656 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content

Check for dragonfly_version in HELLO response #2656

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

Merged
merged 1 commit into from
May 5, 2025

Conversation

michael-grunder
Copy link
Member

DragonflyDB will report to be Redis but also include dragonfly_version in the hello response, which we can use to identify the fork.

Also fix parsing of the HELLO response for serverName() and serverVersion(). Starting in Redis 8.0 there seem to always be modules running, which the previous function was not expecting or parsing.

DragonflyDB will report to be Redis but also include `dragonfly_version`
in the hello response, which we can use to identify the fork.

Also fix parsing of the `HELLO` response for `serverName()` and
`serverVersion()`. Starting in Redis 8.0 there seem to always be modules
running, which the previous function was not expecting or parsing.
@remicollet
Copy link
Collaborator

Especially as this solves #2657

I think this worth to be in a bugfix release, as any call to HELLO with recent redis, or with modules installed will break next command.

@michael-grunder michael-grunder merged commit 593ba01 into develop May 5, 2025
74 checks passed
@michael-grunder michael-grunder deleted the fix/detect-dragonflydb branch May 5, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0