Merge pull request #9074 from Icinga/bugfix/icinga-checksum-state-growing-2.13

Icinga DB: clean up vanished objects from icinga:checksum:*:state
This commit is contained in:
Noah Hilverling 2021-11-10 16:48:30 +01:00 committed by GitHub
commit afb2635e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -536,6 +536,7 @@ std::vector<String> IcingaDB::GetTypeOverwriteKeys(const String& type)
if (type == "host" || type == "service" || type == "user") {
keys.emplace_back(m_PrefixConfigObject + type + "group:member");
keys.emplace_back(m_PrefixConfigObject + type + ":state");
keys.emplace_back(m_PrefixConfigCheckSum + type + ":state");
} else if (type == "timeperiod") {
keys.emplace_back(m_PrefixConfigObject + type + ":override:include");
keys.emplace_back(m_PrefixConfigObject + type + ":override:exclude");