Redis 连接问题
前言
博客书
版本说明
相关链接
问题
问题详情
org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: 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.conf
文件,查找stop-writes-on-bgsave-error
的位置,将yes
改为no
即可;