SYNC
Redis Sync 命令用于同步主从服务器。
语法
redis SYNC 命令基本语法如下:
redis 127.0.0.1:6379> SYNC内容由w.♧3.♧x.♧u.♧e.com提-供,请勿盗用!
可用版本
>= 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"内容由w.♧3.♧x.♧u.♧e.com提-供,请勿盗用!