日期:2014-05-16  浏览次数:20440 次

redis 问题解决(MISCONF Redis is configured to save RDB snapshots)



(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.
 
使用如下命令解决:
config set stop-writes-on-bgsave-error no

set 'name' 'shenhui'
-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
+OK
set 'name' 'shenhui'
+OK