当前位置: 代码迷 >> 综合 >> 【redis错误】MISCONF Redis is configured to save RDB snapshots, but it is currently n
  详细解决方案

【redis错误】MISCONF Redis is configured to save RDB snapshots, but it is currently n

热度:97   发布时间:2024-01-31 03:49:43.0

redis缓存添加key=fishing_radar_version的值失败,错误原因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.

 

解决办法:/etc/redis.conf修改参数stop-writes-on-bgsave-error no即可

 

特殊说明:目前在正常的centos7系统是成功的,但是在docker容器的centos7中暂时测试无效!

 

  相关解决方案