mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
Icinga DB init. dump: flush both buffered states and state checksums
not to dump x states, but only x - (x % bulk) state checksums.
This commit is contained in:
parent
a7a2f4bed0
commit
d8b4768471
@ -310,8 +310,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