mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Fix typo in readSyncBulkPayload() comment.
This commit is contained in:
parent
84b281209a
commit
04442fbebf
1 changed files with 1 additions and 1 deletions
|
|
@ -1278,7 +1278,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||||
close(server.repl_transfer_fd);
|
close(server.repl_transfer_fd);
|
||||||
replicationCreateMasterClient(server.repl_transfer_s,rsi.repl_stream_db);
|
replicationCreateMasterClient(server.repl_transfer_s,rsi.repl_stream_db);
|
||||||
server.repl_state = REPL_STATE_CONNECTED;
|
server.repl_state = REPL_STATE_CONNECTED;
|
||||||
/* After a full resynchroniziation we use the replication ID and
|
/* After a full resynchronization we use the replication ID and
|
||||||
* offset of the master. The secondary ID / offset are cleared since
|
* offset of the master. The secondary ID / offset are cleared since
|
||||||
* we are starting a new history. */
|
* we are starting a new history. */
|
||||||
memcpy(server.replid,server.master->replid,sizeof(server.replid));
|
memcpy(server.replid,server.master->replid,sizeof(server.replid));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue