Redis Sync 命令用于同步主从服务器。
redis SYNC 命令基本语法如下:
- redis 127.0.0.1:6379> SYNC
>= 1.0.0
不明确。
- 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"