完整的错误信息:
Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: 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快照导致不能持久化。
解决方案
127.0.0.1:6379> config set stop-writes-on-bgsave-error no