Redis 服务器SYNC命令 Redis SYNC 命令用于将从服务器同步到主服务器。 返回值 简单字符串回复。 语法 以下是Redis SYNC 命令的基本语法。 redis 127.0.0.1:6379> SYNCBashCopy 示例 redis 127.0.0.1:6379> SYNC Entering slave output mode... (press Ctrl-C to quit) SYNC with master, discarding 18 bytes of bulk transfer... SYNC done. Logging commands from master. "PING" "PING" "PING" "PING" BashCopy