sinterstore: add missing keyspace del event when any source set not exists. (#8949)

this patch fixes sinterstore by add missing keyspace del event when any source set not exists.

Co-authored-by: srzhao <srzhao@sysnew.com>
This commit is contained in:
patpatbear 2021-05-15 08:43:09 -04:00 committed by GitHub
parent df4d916007
commit 46d9f31e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -869,6 +869,7 @@ void sinterGenericCommand(client *c, robj **setkeys,
if (dstkey) {
if (dbDelete(c->db,dstkey)) {
signalModifiedKey(c,c->db,dstkey);
notifyKeyspaceEvent(NOTIFY_GENERIC,"del",dstkey,c->db->id);
server.dirty++;
}
addReply(c,shared.czero);