Don't pass on flags indicating membership in a list
This commit is contained in:
1 parent
aa5b27b040
commit
b1f662d639
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user