Back to Redis

PSYNC

content/commands/psync.md

latest1.1 KB
Original Source

Initiates a replication stream from the master.

The PSYNC command is called by Redis replicas for initiating a replication stream from the master.

For more information about replication in Redis please check the [replication page]({{< relref "/operate/oss_and_stack/management/replication" >}}).

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |

Return information

{{< multitabs id="psync-return-info" tab1="RESP2" tab2="RESP3" >}}

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

-tab-sep-

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

{{< /multitabs >}}