The following are the exception details:
Exception in thread "main" Redis.clients.jedis.exceptions.JedisDataException:MISCONF Redis be configured to save RDB snap Shots, but is currently isn't able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
Conditions at the time of production:
Data continued to write, read speed far below the write speed, lasted more than 1H (halfway open a longer time, has been written data, no tube), memory footprint of 80%.
Since I do not have a detailed and in-depth understanding of Redis, so according to the online data description:
Stop-writes-on-bgsave-error Yes
#默认情况下, if a problem occurs during RDB snapshots persistence, the redis is not allowed when the parameter is set
Do any update operations (set ...). Prevent Redis snapshots from being forced to stop artificially
Solve:
Enter the Redis src directory
To start the client:
./redis-cli
Input:
Config set Stop-writes-on-bgsave-error No