File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11In this stage, you'll add support for receiving the [ ` PSYNC ` ] ( https://redis.io/commands/psync/ ) command from the replica.
22
3- ### The Handshake Process (Recap)
3+ ### Handshake (Recap)
44
5- As a recap, the master receives the following for the handshake process :
5+ As a recap, the master receives the following for the handshake:
66
771 . A ` PING ` from the replica
882 . ` REPLCONF ` twice from the replica
@@ -44,7 +44,7 @@ It will then connect to your TCP server as a replica and send the following comm
4444
45451 . ` PING ` - expecting ` +PONG\r\n ` back
46462 . ` REPLCONF listening-port <PORT> ` - expecting ` +OK\r\n ` back
47- 3 . ` REPLCONF capa eof capa psync2 ` - expecting ` +OK\r\n ` back
47+ 3 . ` REPLCONF capa psync2 ` - expecting ` +OK\r\n ` back
48484 . ` PSYNC ? -1 ` - expecting ` +FULLRESYNC <REPL_ID> 0\r\n ` back
4949
5050** Notes** :
You can’t perform that action at this time.
0 commit comments