问题:强制关闭Redis快照导致不能持久化

运行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."

解决方案:

先执行:config set stop-writes-on-bgsave-error no,关闭配置项stop-writes-on-bgsave-error;

再执行 lpush myColour "red"。

 

posted @ 2019-01-26 11:15  ~遇见阳光~  阅读(663)  评论(0编辑  收藏  举报