Icinga DB: HDEL also icinga:checksum:*, not only icinga:*

This commit is contained in:
Alexander A. Klimov 2021-07-22 14:13:12 +02:00
parent 2b04e0a754
commit 50bc7a7f3d

View File

@ -1475,6 +1475,7 @@ void IcingaDB::SendConfigDelete(const ConfigObject::Ptr& object)
m_Rcon->FireAndForgetQueries({
{"HDEL", m_PrefixConfigObject + typeName, objectKey},
{"HDEL", m_PrefixConfigCheckSum + typeName, objectKey},
{
"XADD", "icinga:runtime", "MAXLEN", "~", "1000000", "*",
"redis_key", m_PrefixConfigObject + typeName, "id", objectKey, "runtime_type", "delete"