String typeName = type->GetName();
/* replace into aka delete insert is faster than a full diff */
- Log(LogInformation, "RedisWriter")
- << "Flushing icinga:config:" << typeName << " before config dump.";
-
redisReply *reply1 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:config:%s", typeName.CStr()));
if (!reply1) {
freeReplyObject(reply1);
- Log(LogInformation, "RedisWriter")
- << "Flushing icinga:status:" << typeName << " before config dump.";
-
redisReply *reply2 = reinterpret_cast<redisReply *>(redisCommand(m_Context, "DEL icinga:status:%s", typeName.CStr()));
if (!reply2) {