What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

PSYNC

An internal command used in replication.

Usage
PSYNC replicationid offset
Since
2.8.0
ACL Categories
@admin, @dangerous, @slow
Command flags
NO_ASYNC_LOADING, ADMIN, NO_MULTI, NOSCRIPT

Initiates a replication stream from the primary.

The PSYNC command is called by Valkey replicas for initiating a replication stream from the primary.

For more information about replication in Valkey please check the replication page.

Replies

RESP2

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

RESP3

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