Skip to content

Commit bf74763

Browse files
nagleraPingXie
andauthored
-FULLSYNCNEEDED -> +FULLSYNCNEEDED
Co-authored-by: Ping Xie <[email protected]>
1 parent 26a147b commit bf74763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/replication.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,7 @@ int slaveTryPartialResynchronization(connection *conn, int read_reply) {
32253225
return PSYNC_TRY_LATER;
32263226
}
32273227

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

0 commit comments

Comments
 (0)