2019 七月 23 , 星期二
Home / 数据存储 / 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.

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异常重启后返回
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
如果还不能解决 更换rdb文件并重新同步db文件
config set dir /tmp/some/directory/other/than/var
config set dbfilename temp.rdb
bgsave

Check Also

redis 发布与订阅(pub/sub)

SUBSCRIBE 、 UNS ...

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>