From fcda3a7283786588c899f1633bb941c2e8f0de66 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 26 Jul 2021 17:35:56 +0200 Subject: [PATCH] Icinga DB: HDEL also icinga:checksum:*:state, not only icinga:*:state ... as they belong together. --- lib/icingadb/icingadb-objects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index 655f53c40..0ffeefeac 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -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); } }