Skip to content

fix redis-benchmark to ignore unsupported configs#8916

Merged
oranagra merged 2 commits intoredis:unstablefrom
oranagra:fix-benchmark-on-re
May 6, 2021
Merged

fix redis-benchmark to ignore unsupported configs#8916
oranagra merged 2 commits intoredis:unstablefrom
oranagra:fix-benchmark-on-re

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 #8869
@oranagra oranagra requested review from filipecosta90 and yossigo May 6, 2021 06:49
@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.

Co-authored-by: yoav-steinberg <[email protected]>
@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 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
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.

3 participants