redis error MISCONF Redis is configured to save RDB snapshots

来源:互联网 发布:知乎如何添加关注话题 编辑:程序博客网 时间:2024/06/11 17:34

1

redis 127.0.0.1:6379> sadd myset "hello"

(error) 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. 

 


解决:

1redis 127.0.0.1:6379> config set stop-writes-on-bgsave-error no
2OK
3redis 127.0.0.1:6379> sadd myset "hello"
4(integer) 1

0 0
原创粉丝点击