From 7d359392060d36dd05e2e9e73b65b0dbcbbb42ed Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 26 May 2020 23:55:18 +0200 Subject: [PATCH] Replication: log backlog creation event. --- src/replication.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/replication.c b/src/replication.c index 3ebe451a2..07dc50edb 100644 --- a/src/replication.c +++ b/src/replication.c @@ -748,6 +748,9 @@ void syncCommand(client *c) { changeReplicationId(); clearReplicationId2(); createReplicationBacklog(); + serverLog(LL_NOTICE,"Replication backlog created, my new " + "replication IDs are '%s' and '%s'", + server.replid, server.replid2); } /* CASE 1: BGSAVE is in progress, with disk target. */