用命令行工具连上后执行“FLASHALL”出现以下错误提示:
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.
默认情况下,如果在RDB snapshots持久化过程中出现问题,设置该参数后,Redis是不允许用户。
过关闭配置项stop-writes-on-bgsave-error解决该问题。
config set stop-writes-on-bgsave-error no