ERR DUMP payload version or checksum are wrong: ERR DUMP payload version or checksum are wrong(DUMP 负载的版本或校验和错误)
Redis含义
传给 RESTORE 的序列化数据(DUMP 输出)无效;版本不兼容或校验和验证失败。Redis 无法安全地恢复该数据。
原因
DUMP 数据已损坏/被修改、在不兼容的不同 Redis 版本之间迁移、编码/解码过程中损坏(如字节处理错误),或负载缺失/被截断。
解决方法
确保 DUMP 数据完整传输(二进制安全);以原始字节而非文本编码方式传输。确认源和目标 Redis 版本兼容。重新执行 DUMP 并再次传输。迁移时考虑使用 MIGRATE 命令代替 RESTORE。
同一数据库的其他条目
- ERR max number of clients reachedERR max number of clients reached(已达到最大客户端数)
- BUSYKEYBUSYKEY Target key name already exists(目标键名已存在)
- ERR no such keyERR no such key(键不存在)
- NOREPLICASNOREPLICAS Not enough good replicas to write(没有足够的正常副本可供写入)
- ERR This instance has cluster support disabledERR This instance has cluster support disabled(此实例已禁用集群支持)
- ERR unknown subcommandERR unknown subcommand or wrong number of arguments(未知子命令或参数数量错误)
- ERR Client sent AUTH, but no password is setERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6)(调用了 AUTH,但服务器未配置密码)