发布于 2015-06-22 09:14:45 | 189 次阅读 | 评论: 0 | 来源: 网络整理
Redis 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"