今天使用redis时出现了以下错误:
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

原因:强制关闭了redis快照导致无法持久化。
解决:运行config set stop-writes-on-bgsave-error no即可解决

在使用Redis过程中遇到无法持久化数据的错误,原因是强制关闭快照导致。解决方法是运行'config set stop-writes-on-bgsave-error no'命令,这将允许Redis在保存错误发生时继续写操作。建议检查Redis日志获取更多错误详情。
6896

被折叠的 条评论
为什么被折叠?



