Skip to content

Commit

Permalink
-FULLSYNCNEEDED -> +FULLSYNCNEEDED
Browse files Browse the repository at this point in the history
Co-authored-by: Ping Xie <[email protected]>
  • Loading branch information
naglera and PingXie authored Jun 25, 2024
1 parent 26a147b commit bf74763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -3225,7 +3225,7 @@ int slaveTryPartialResynchronization(connection *conn, int read_reply) {
return PSYNC_TRY_LATER;
}

if (!strncmp(reply, "-FULLSYNCNEEDED", 15)) {
if (!strncmp(reply, "+FULLSYNCNEEDED", 15)) {
/* A response of -FULLSYNCNEEDED from the master implies that partial
* synchronization is not possible and that the primary supports full
* sync using dedicated RDB channel. Full sync will continue that way. */
Expand Down

0 comments on commit bf74763

Please sign in to comment.