记录一次redis故障
程序员文章站
2022-05-02 11:32:42
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
上一篇: Python 加密与解密小结
下一篇: python对视频画框标记后保存的方法