Skip to content
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

fix redis-benchmark to ignore unsupported configs #8916

Merged
merged 2 commits into from May 6, 2021

Conversation

oranagra
Copy link
Member

@oranagra oranagra commented May 6, 2021

Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see #8869

Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see redis#8869
@oranagra oranagra added this to To do in 6.2 Backport via automation May 6, 2021
@oranagra oranagra added the state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten label May 6, 2021
Copy link
Contributor

@yoav-steinberg yoav-steinberg left a comment

Choose a reason for hiding this comment

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

I think there's still an issue here. See inline comment.

src/redis-benchmark.c Outdated Show resolved Hide resolved
Co-authored-by: yoav-steinberg <yoav@monfort.co.il>
@oranagra oranagra merged commit 4d1094e into redis:unstable May 6, 2021
madolson pushed a commit to madolson/redis that referenced this pull request May 12, 2021
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see redis#8869
@oranagra oranagra moved this from To do to In progress in 6.2 Backport May 30, 2021
oranagra added a commit to oranagra/redis that referenced this pull request Jun 1, 2021
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see redis#8869

(cherry picked from commit 4d1094e)
oranagra added a commit that referenced this pull request Jun 1, 2021
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see #8869

(cherry picked from commit 4d1094e)
@oranagra oranagra mentioned this pull request Jun 1, 2021
@oranagra oranagra moved this from In progress to Done in 6.2 Backport Jun 1, 2021
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Sep 8, 2021
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the save and appendonly configs are not supported.
before this fix redis-benchmark would segfault for trying to access the
error string on an array type reply.
see redis#8869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants