From d1337c9bbe948da3690385d57d9219295f81d0d0 Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 30 May 2021 05:11:18 +0000 Subject: [PATCH] Don't pass on flags indicating membership in a list Former-commit-id: b1f662d6393eea77c2870c8a1f955374b1a3b57f --- src/replication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replication.cpp b/src/replication.cpp index 491e3b17f..e01124fb1 100644 --- a/src/replication.cpp +++ b/src/replication.cpp @@ -1896,7 +1896,7 @@ void replicationCreateCachedMasterClone(redisMaster *mi) { } client *c = createClient(nullptr, ielFromEventLoop(serverTL->el)); - c->flags |= mi->master->flags; + c->flags |= mi->master->flags & ~(CLIENT_PENDING_WRITE | CLIENT_UNBLOCKED | CLIENT_CLOSE_ASAP); c->authenticated = mi->master->authenticated; c->reploff = mi->master->reploff; c->read_reploff = mi->master->read_reploff;