mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
Icinga DB: increase Redis schema version
PR #9036 introduces some incompatible changes to the Redis schema, most importantly where Icinga DB has to read the environment from: now it has to use a new top-level key of the icinga:stats message instead of a value in the IcingaApplication part of that message.
This commit is contained in:
parent
d3ec8a9ba8
commit
9a5ba28e0c
@ -132,7 +132,7 @@ void IcingaDB::ConfigStaticInitialize()
|
||||
void IcingaDB::UpdateAllConfigObjects()
|
||||
{
|
||||
m_Rcon->Sync();
|
||||
m_Rcon->FireAndForgetQuery({"XADD", "icinga:schema", "MAXLEN", "1", "*", "version", "2"}, Prio::Heartbeat);
|
||||
m_Rcon->FireAndForgetQuery({"XADD", "icinga:schema", "MAXLEN", "1", "*", "version", "3"}, Prio::Heartbeat);
|
||||
|
||||
Log(LogInformation, "IcingaDB") << "Starting initial config/status dump";
|
||||
double startTime = Utility::GetTime();
|
||||
|
Loading…
x
Reference in New Issue
Block a user