问题:强制关闭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"。

猜你喜欢

转载自www.cnblogs.com/gxl666/p/10322895.html
今日推荐