diff options
author | antirez <antirez@gmail.com> | 2020-05-26 23:55:18 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-05-26 23:55:18 +0200 |
commit | 7d359392060d36dd05e2e9e73b65b0dbcbbb42ed (patch) | |
tree | 927533de824a60dd8b196f19b287246e530be7d7 | |
parent | 091fb64681b4670d4103edf055b82c8c4e48eef9 (diff) | |
download | redis-7d359392060d36dd05e2e9e73b65b0dbcbbb42ed.tar.gz |
Replication: log backlog creation event.
-rw-r--r-- | src/replication.c | 3 |
1 files changed, 3 insertions, 0 deletions
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. */ |