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

... as they belong together.
This commit is contained in:
Alexander A. Klimov 2021-07-26 17:35:56 +02:00
parent 392fd8a75c
commit fcda3a7283
1 changed files with 4 additions and 1 deletions

View File

@ -1490,7 +1490,10 @@ void IcingaDB::SendConfigDelete(const ConfigObject::Ptr& object)
GetObjectIdentifier(checkable)
}, Prio::CheckResult);
m_Rcon->FireAndForgetQuery({"HDEL", m_PrefixConfigObject + typeName + ":state", objectKey}, Prio::RuntimeStateSync);
m_Rcon->FireAndForgetQueries({
{"HDEL", m_PrefixConfigObject + typeName + ":state", objectKey},
{"HDEL", m_PrefixConfigCheckSum + typeName + ":state", objectKey}
}, Prio::RuntimeStateSync);
}
}