mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 22:24:44 +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
6007848146
commit
3c8672b4dc
@ -127,7 +127,7 @@ void IcingaDB::ConfigStaticInitialize()
|
|||||||
void IcingaDB::UpdateAllConfigObjects()
|
void IcingaDB::UpdateAllConfigObjects()
|
||||||
{
|
{
|
||||||
m_Rcon->Sync();
|
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";
|
Log(LogInformation, "IcingaDB") << "Starting initial config/status dump";
|
||||||
double startTime = Utility::GetTime();
|
double startTime = Utility::GetTime();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user