SYNC
Syntax
SYNC
- Available since:
- 1.0.0
- Time complexity:
- ACL categories:
-
@admin
,@slow
,@dangerous
,
Initiates a replication stream from the master.
The SYNC
command is called by Redis replicas for initiating a replication
stream from the master. It has been replaced in newer versions of Redis by
PSYNC
.
For more information about replication in Redis please check the replication page.
RESP2/RESP3 Reply
Non-standard return value, a bulk transfer of the data followed byPING
and write requests from the master.