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

在redis上删除key值时,出现:

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

nested exception is redis.clients.jedis.exceptions.JedisDataException:
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

liunx 下解决方法:

通过运行config set stop-writes-on-bgsave-error no命令,关闭stop-writes-on-bgsave-error

windows下解决方法:

找到了redis.windows.conf文件,找到stop-writes-on-bgsave-error yes 

修改为:

参考链接:https://blog.csdn.net/yangfengjueqi/article/details/83856171

move on
原文地址:https://www.cnblogs.com/amy720/p/11427983.html