redis出现错误提示MISCONF Redis is configured to save RDB snapshots, but is currently not able to persis...

2020/12/12 00:46
阅读数 6.9K

某天,redis出现了这样一个错误提示:

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快照导致不能持久化。
 
简单解决办法:
将stop-writes-on-bgsave-error设置为no
127.0.0.1:6379> config set stop-writes-on-bgsave-error no

本文同步分享在 博客“朱季谦”(CNBlog)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
返回顶部
顶部