今天使用redis时出现了以下错误:
(error) 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快照导致无法持久化。
解决:运行config set stop-writes-on-bgsave-error no即可解决