(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 t

时间:2021-12-03 11:54:34

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

(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 t

解决方案(百度到的答案,不过确实有用):

127.0.0.1:6379> config set stop-writes-on-bgsave-error no

OK

就好啦。

据说原因是:强制关闭了redis快照功能。