summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/sync.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/sync.md')
-rw-r--r--iredis/data/commands/sync.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/iredis/data/commands/sync.md b/iredis/data/commands/sync.md
new file mode 100644
index 0000000..48250b4
--- /dev/null
+++ b/iredis/data/commands/sync.md
@@ -0,0 +1,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.