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