From bf7476340cf9f563b3617ec9193b165b8db45329 Mon Sep 17 00:00:00 2001 From: naglera <58042354+naglera@users.noreply.github.com> Date: Tue, 25 Jun 2024 16:13:29 +0200 Subject: [PATCH] -FULLSYNCNEEDED -> +FULLSYNCNEEDED Co-authored-by: Ping Xie --- src/replication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.c b/src/replication.c index 482f1c03d1..f03cb9af89 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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. */