同步
Syntax
SYNC
- Available since:
- 1.0.0
- Time complexity:
- ACL categories:
-
@admin
,@slow
,@dangerous
,
从主节点启动复制流。
SYNC
命令由 Redis 副本调用,用于从主服务器启动复制流。在 Redis 的较新版本中,它已被 PSYNC
取代。
有关Redis中复制的更多信息,请查看 复制页面。
RESP2/RESP3 回复
Non-standard return value, a bulk transfer of the data followed byPING
and write requests from the master.