SYNC
Syntax
SYNC
- Available since:
- Redis Open Source 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.
Return information
Non-standard return value, a bulk transfer of the data followed by
PING
and write requests from the master.