努力成为写作人

朱季谦

越努力,越幸运

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......

某天,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
posted @ 2020-12-12 00:46  朱季谦  阅读(412)  评论(0编辑  收藏  举报