mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
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…
x
Reference in New Issue
Block a user