Reason: the redis snapshot cannot be persisted because it is forced to close.
Fix: VIM open the redis.conf file of redis server configuration, and then use the shortcut matching mode: stop writes on bgsave error to locate the stop writes on bgsave error string, and then set yes to No.