某天,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.
 
经检查,出现这样错误的原因,在于:
强制关闭Redis快照导致不能持久化。
 
简单解决办法:
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......
将stop-writes-on-bgsave-error设置为no
127.0.0.1:6379> config set stop-writes-on-bgsave-error no

相关文章:

  • 2021-10-23
  • 2021-11-19
  • 2021-10-08
猜你喜欢
  • 2022-02-12
  • 2021-06-03
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案