mirror of
https://github.com/redis/redis.git
synced 2026-01-11 20:18:08 -05:00
Fix typo in readSyncBulkPayload() comment.
This commit is contained in:
@@ -1278,7 +1278,7 @@ void readSyncBulkPayload(aeEventLoop *el, int fd, void *privdata, int mask) {
|
||||
close(server.repl_transfer_fd);
|
||||
replicationCreateMasterClient(server.repl_transfer_s,rsi.repl_stream_db);
|
||||
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
|
||||
* we are starting a new history. */
|
||||
memcpy(server.replid,server.master->replid,sizeof(server.replid));
|
||||
|
||||
Reference in New Issue
Block a user