- Usage:
-
SYNC
- Since:
- 1.0.0
Initiates a replication stream from the primary.
The SYNC
command is called by Valkey replicas for initiating a replication
stream from the primary. It has been replaced in newer versions of Valkey by
PSYNC
.
For more information about replication in Valkey please check the replication page.
RESP2/RESP3 Reply
Non-standard return value, a bulk transfer of the data followed by PING
and write requests from the primary.