mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9044 from Icinga/bugfix/idb-dump-buf-lost
Icinga DB init. dump: flush both buffered states and state checksums
This commit is contained in:
commit
f976e351f4
|
@ -313,8 +313,10 @@ void IcingaDB::UpdateAllConfigObjects()
|
|||
}
|
||||
}
|
||||
|
||||
if (states.size() > 2)
|
||||
if (states.size() > 2) {
|
||||
transaction.emplace_back(std::move(states));
|
||||
transaction.emplace_back(std::move(statesChksms));
|
||||
}
|
||||
|
||||
if (transaction.size() > 1) {
|
||||
transaction.push_back({"EXEC"});
|
||||
|
|
Loading…
Reference in New Issue