sync

UK [sɪŋk] US [sɪŋk]

n.At the same time, synchronize

redis PSYNC command syntax

Function: Internal commands used for replication.

Syntax: PSYNC <MASTER_RUN_ID> <OFFSET>

Available versions: >= 2.8.0

Time complexity: Unclear

Return: Unclear

redis PSYNC command example

127.0.0.1:6379> PSYNC ? -1
"REDIS0006\xfe\x00\x00\x02kk\x02vv\x00\x03msg\x05hello\
xff\xc3\x96P\x12h\bK\xef"