【Redis】redis报错:(error) MISCONF Redis is configured to save RDB snapshots...

文章目录

  • 【Redis】redis报错:(error) MISCONF Redis is configured to save RDB snapshots...
    • 一、问题描述
    • 二、快速解决方法

【Redis】redis报错:(error) MISCONF Redis is configured to save RDB snapshots…

一、问题描述

redis 有时会报出如下错误,导致服务不可用:

(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

二、快速解决方法

首先,通过 redis-cli 登陆 redis server;
然后,执行如下命令即可;

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

——2020-06-29——

你可能感兴趣的:(●,【,问题集,】)