RDB持久化异常

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.conf

RDB文件名,默认为dump.rdb。

dbfilename dump.rdb

文件存放的目录,AOF文件同样存放在此目录下。默认为当前工作目录。

dir ./

查看文件写入权限,以及磁盘是否已满。

info
stop-writes-on-bgsave-error yes

查看日志

Redis持久化