Redis Server Sync 命令
-
描述
Server Sync 命令用于将从站同步到主站。 -
句法
以下是Redis Sync命令的基本语法。redis 127.0.0.1:6379> SYNC
-
返回值
简单的字符串回复。 -
例子
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"