redis error MISCONF Redis is configured to save RDB snapshots
498 ワード
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.
解決:
1
redis 127.0.0.1:6379> config set stop-writes-on-bgsave-error no
2
OK
3
redis 127.0.0.1:6379> sadd myset "hello"
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.
解決:
1
redis 127.0.0.1:6379> config set stop-writes-on-bgsave-error no
2
OK
3
redis 127.0.0.1:6379> sadd myset "hello"
4
(integer) 1