Don't pass on flags indicating membership in a list
Former-commit-id: b1f662d6393eea77c2870c8a1f955374b1a3b57f
This commit is contained in:
parent
6331caca6a
commit
0bb036aebb
@ -1896,7 +1896,7 @@ void replicationCreateCachedMasterClone(redisMaster *mi) {
|
|||||||
}
|
}
|
||||||
client *c = createClient(nullptr, ielFromEventLoop(serverTL->el));
|
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->authenticated = mi->master->authenticated;
|
||||||
c->reploff = mi->master->reploff;
|
c->reploff = mi->master->reploff;
|
||||||
c->read_reploff = mi->master->read_reploff;
|
c->read_reploff = mi->master->read_reploff;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user