redis重命名flushall和flushdb,将使用中的redis重命名redis会启动失败并且log中有报错 # Unknown command 'flushall' reading the append only file # Unknown command 'flushdb' reading the append only file 是因为实例之前执行过flushall和flushdb,并且实例是打开aof,rename命令之后,重启redis,会先加载appendonly.aof文件…