记录一次redis故障
程序员文章站
2023-02-20 21:21:47
ResponseError: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set ......
responseerror: 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被配置为保存数据库快照,但它目前不能持久化到硬盘。用来修改集合数据的命令不能用。请查看redis日志的详细错误信息。
原因:强制关闭redis快照导致不能持久化
解决方案:
将:stop-writes-on-bgsave-error 设置为 no
上一篇: CSS3选择器笔记
下一篇: CSS-高度塌陷问题