Skip to content

Commit

Permalink
Clarify FULLSYNCNEEDED comment
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Söderqvist <[email protected]>
  • Loading branch information
naglera and zuiderkwast authored Jun 18, 2024
1 parent a9ec933 commit e8e67b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -3227,8 +3227,8 @@ int slaveTryPartialResynchronization(connection *conn, int read_reply) {

if (!strncmp(reply, "-FULLSYNCNEEDED", 15)) {
/* A response of -FULLSYNCNEEDED from the master implies that partial
* synchronization is not possible. Full sync will continue on dedicated
* RDB channel. */
* synchronization is not possible and that the primary supports full
* sync using dedicated RDB channel. Full sync will continue that way. */
server.master_supports_rdb_channel = 1;
serverLog(LL_NOTICE, "PSYNC is not possible, initialize RDB channel.");
sdsfree(reply);
Expand Down

0 comments on commit e8e67b4

Please sign in to comment.