Remove 'Redis' in error replies#206
Merged
zuiderkwast merged 5 commits intoApr 16, 2024
Merged
Conversation
This includes error message like * "-MISCONF Redis is configured to save RDB snapshots (...)" * "-LOADING Redis is loading the dataset in memory" * "-BUSY Redis is busy running a script (...)" but also error replies from `redis.call` in a Lua script, such as * "Please specify at least one argument for this redis lib call" * "Wrong number of args calling Redis command from script" * "Unknown Redis command called from script" * "Invalid command passed to redis.acl_check_cmd()" The name Redis is simply removed from these error message. In the last one above, "redis.acl_check_cmd()" is replaced by "server.acl_check_cmd()" in the error message. Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Contributor
Author
|
@0del do you want to review this one? |
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
ca07ce1 to
4ac8a77
Compare
9bany
reviewed
Apr 4, 2024
hwware
approved these changes
Apr 4, 2024
madolson
reviewed
Apr 4, 2024
Member
|
I don't think we should make this change. We should use the indirection mechanism established in #47 instead. As we discussed in other threads, I am proposing to have one uber compilation flag such as '-DREDIS_COMAPT=1' to control the presence/absence of all breaking changes. |
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Contributor
Author
enjoy-binbin
approved these changes
Apr 15, 2024
Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
b169043 to
7b73d8d
Compare
zuiderkwast
added a commit
to zuiderkwast/valkey
that referenced
this pull request
Apr 17, 2024
Low-risk error replies containing "Redis" are changed. In most cases, the word "Redis" is simply removed from the error message, such as in "This Redis instance is not configured to use an ACL file. (...)", the message is changed to "This instance is not configured to use an ACL file. (...)". Additionally, error replies from `redis.call` in a Lua script are affected, such as * "Please specify at least one argument for this redis lib call" * "Wrong number of args calling Redis command from script" * "Unknown Redis command called from script" * "Invalid command passed to redis.acl_check_cmd()" The name Redis is simply removed from these error message. In the last one above, "redis.acl_check_cmd()" is replaced by "server.acl_check_cmd()" in the error message. The following error replies are considered high of causing problems for clients, so they are not changed in this commit: * (not in scope) "-MISCONF Redis is configured to save RDB snapshots (...)" * (not in scope) "-LOADING Redis is loading the dataset in memory" * (not in scope) "-BUSY Redis is busy running a script (...)" Fixes valkey-io#204 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
PatrickJS
pushed a commit
to PatrickJS/placeholderkv
that referenced
this pull request
Apr 24, 2024
Low-risk error replies containing "Redis" are changed. In most cases, the word "Redis" is simply removed from the error message, such as in "This Redis instance is not configured to use an ACL file. (...)", the message is changed to "This instance is not configured to use an ACL file. (...)". Additionally, error replies from `redis.call` in a Lua script are affected, such as * "Please specify at least one argument for this redis lib call" * "Wrong number of args calling Redis command from script" * "Unknown Redis command called from script" * "Invalid command passed to redis.acl_check_cmd()" The name Redis is simply removed from these error message. In the last one above, "redis.acl_check_cmd()" is replaced by "server.acl_check_cmd()" in the error message. The following error replies are considered high of causing problems for clients, so they are not changed in this commit: * (not in scope) "-MISCONF Redis is configured to save RDB snapshots (...)" * (not in scope) "-LOADING Redis is loading the dataset in memory" * (not in scope) "-BUSY Redis is busy running a script (...)" Fixes valkey-io#204 --------- Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
bjosv
added a commit
to bjosv/valkey
that referenced
this pull request
Aug 20, 2025
Squashed 'deps/libvalkey/' changes from abcd27fbf..d95a5ee9a 9e10acbf7 Fix duplicate Acks for RDMA events. (valkey-io#229) 1eadedf48 Remove the unused valDup API from dict a449f0ea1 Don't expose internal functions in shared libraries (valkey-io#205) 178e350c7 Cluster code cleanup (valkey-io#216) 4020396c8 Fix `unused-parameter` warning when building with `NDEBUG` (valkey-io#212) 279125e22 Spelling (valkey-io#213) 99aa158bc Use existing connections for blocking slotmap updates (valkey-io#199) f670346b9 Only install headers for `TLS` and `RDMA` when enabled in CMake (valkey-io#206) 41c5911f1 Remove macro UNUSED from public API (valkey-io#200) 969a8c546 Fix dependency issue with RDMA (valkey-io#201) git-subtree-dir: deps/libvalkey git-subtree-split: d95a5ee9ad95b9ee7f298f38d0fb93f3f7659ef7 Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Low-risk error replies containing "Redis" are changed, excluding the following ones that are instead covered in #274 (since they're high risk of causing problems):
Additionally, error replies from
redis.callin a Lua script are affected, such asThe name Redis is simply removed from these error message. In the last one above, "redis.acl_check_cmd()" is replaced by "server.acl_check_cmd()" in the error message.
Fixes #204
For release notes: