summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/sync.md
blob: 48250b4db39f5095b1776f792fb5f99c6fe4ba78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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][tr].

[tr]: /topics/replication

@return

**Non standard return value**, a bulk transfer of the data followed by `PING`
and write requests from the master.