Merge branch 'unstable' into keydbpro

Former-commit-id: 657789db5c3bd0fbbfc15be150d6eb525554251c
This commit is contained in:
John Sully 2021-06-02 02:08:18 +00:00
commit d243d4e5df

View File

@ -1922,7 +1922,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;