From e8e67b4ab8a76e3fcddfbe72385d2374c1f77243 Mon Sep 17 00:00:00 2001 From: naglera <58042354+naglera@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:31:09 +0200 Subject: [PATCH] Clarify FULLSYNCNEEDED comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Viktor Söderqvist --- src/replication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/replication.c b/src/replication.c index d2af923cac..207a2bfceb 100644 --- a/src/replication.c +++ b/src/replication.c @@ -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);