解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

时间:2023-03-10 00:21:46
解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist o...

原因
强制关闭Redis快照导致不能持久化。


解决方案
将stop-writes-on-bgsave-error设置为no

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

redis-cli 登录
auth redis
config set stop-writes-on-bgsave-error no 即可解决