欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

记录一次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快照导致不能持久化

记录一次redis故障

解决方案:
将:stop-writes-on-bgsave-error 设置为 no

记录一次redis故障