enjoy-binbin commented on code in PR #1928:
URL: https://github.com/apache/kvrocks/pull/1928#discussion_r1420354889
##########
src/server/redis_connection.cc:
##########
@@ -393,7 +393,7 @@ void Connection::ExecuteCommands(std::deque<CommandTokens>
*to_process_cmds) {
s = srv_->cluster->CanExecByMySelf(attributes, cmd_tokens, this);
if (!s.IsOK()) {
if (is_multi_exec) multi_error_ = true;
- Reply(redis::Error("ERR " + s.Msg()));
+ Reply(redis::Error(s.Msg()));
Review Comment:
I did checked the error returns in CanExecByMySelf, they both no need the
ERR code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]