EXECABORT: EXECABORT Transaction discarded because of previous errors(由于之前的错误,事务已被丢弃)
Redis含义
MULTI/EXEC 块中的事务因排队阶段发生的错误而中止。EXEC 拒绝该事务,不执行任何命令。
原因
MULTI 与 EXEC 之间的命令存在语法错误,或排队时捕获的错误,如命令名不存在或参数数量错误。此类错误会使整个事务失效。
解决方法
修正 MULTI 块中命令的语法和参数。排队命令时检查回复;如果任何命令返回错误而非 QUEUED,事务会在 EXEC 时中止。用有效命令重建事务。注意:Redis 事务不会回滚;只有排队错误会导致 EXECABORT,运行时错误不会阻止其他命令执行。
同一数据库的其他条目
- MOVEDMOVED slot ip:port(集群重定向)
- ASKASK slot ip:port(集群重定向)
- NOSCRIPTNOSCRIPT No matching script. Please use EVAL(没有匹配的脚本。请使用 EVAL)
- NOPERMNOPERM this user has no permissions to run the command or access one of the keys(该用户无权运行此命令或访问其中某个键)
- ERR value is not an integer or out of rangeERR value is not an integer or out of range(值不是整数或超出范围)
- ERR value is not a valid floatERR value is not a valid float(值不是有效的浮点数)
- ERR increment or decrement would overflowERR increment or decrement would overflow(递增或递减将导致溢出)