Icinga DB: raise icinga:schema 1 -> 2

This commit is contained in:
Alexander A. Klimov 2021-11-02 15:00:55 +01:00
parent b1714a10c2
commit 0ff7d0a06e
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ void IcingaDB::ConfigStaticInitialize()
void IcingaDB::UpdateAllConfigObjects()
{
m_Rcon->Sync();
m_Rcon->FireAndForgetQuery({"XADD", "icinga:schema", "MAXLEN", "1", "*", "version", "1"}, Prio::Heartbeat);
m_Rcon->FireAndForgetQuery({"XADD", "icinga:schema", "MAXLEN", "1", "*", "version", "2"}, Prio::Heartbeat);
Log(LogInformation, "IcingaDB") << "Starting initial config/status dump";
double startTime = Utility::GetTime();