您的位置:首页 > 数据库 > Redis

(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d

2016-12-30 00:00 676 查看
(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设置了保存RDB快照,最后一次保存失败后,redis强制中断持久化到磁盘的操作

修改stop-writes-on-bgsave-error为no可以继续操作

(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.
127.0.0.1:6379> set name artist
(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.
127.0.0.1:6379> CONFIG SET stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> set name artist
OK
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Redis
相关文章推荐