提交 8783304a 编写于 作者: A antirez

Abort transactions after -READONLY error. Fix #7014.

上级 ec9cf002
......@@ -3509,6 +3509,7 @@ int processCommand(client *c) {
!(c->flags & CLIENT_MASTER) &&
c->cmd->flags & CMD_WRITE)
{
flagTransaction(c);
addReply(c, shared.roslaveerr);
return C_OK;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册