排查错误
最近测试环境一直没问题的 API 突然报错了,错误信息如下:
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 服务端持久化保存快照时出错,因此 API 项目作为客户端就收到了这个消息,搜索后得到如下解决方法:
$ redis-cli
redis 127.