JAVA Connect Redis Error: stop-writes-on-bgsave-error option

(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

Go to the redis installation directory and find src

./redis-cli -a redis password

Then execute

127.0.0.1:6379> config set stop-writes-on-bgsave-error no

That’s it

However, this method will fail after restarting

Read More: