icinga2/lib/icinga
Michael Friedrich 0cbedf495a IDO: Ensure that the notification insert id is passed to contactnotification inserts
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.

This patch also removes the old notification insert id cache
which was broken in many ways.

fixes #11387
2016-04-20 10:07:24 +02:00
..
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
apiactions.cpp Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult() 2016-04-20 10:00:08 +02:00
apiactions.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
apievents.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
apievents.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-check.cpp Only call UpdateNextCheck() for soft states 2016-04-20 10:00:09 +02:00
checkable-comment.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-dependency.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-downtime.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-event.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-flapping.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable-notification.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkable.hpp Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult() 2016-04-20 10:00:08 +02:00
checkable.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkcommand.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkcommand.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkcommand.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkresult.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkresult.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
checkresult.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
cib.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
cib.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
clusterevents.cpp Ensure that config files are readable by the daemon 2016-02-24 14:25:09 +01:00
clusterevents.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
command.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
command.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
command.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
comment.cpp Fix: Downtimes/Comments not being synced to child zones 2016-04-20 10:07:24 +02:00
comment.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
comment.ti Ensure that the legacy_id attribute for comment/downtime objects is restored on restart 2016-04-20 10:07:22 +02:00
compatutility.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
compatutility.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
customvarobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
customvarobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
customvarobject.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dependency-apply.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dependency.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dependency.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dependency.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
downtime.cpp Fix: Downtimes/Comments not being synced to child zones 2016-04-20 10:07:24 +02:00
downtime.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
downtime.ti Ensure that the legacy_id attribute for comment/downtime objects is restored on restart 2016-04-20 10:07:22 +02:00
eventcommand.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
eventcommand.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
eventcommand.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
externalcommandprocessor.cpp Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult() 2016-04-20 10:00:08 +02:00
externalcommandprocessor.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
host.cpp Refactor patch for host recovery notifications 2016-03-15 13:11:01 +01:00
host.hpp Refactor patch for host recovery notifications 2016-03-15 13:11:01 +01:00
host.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostgroup.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostgroup.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostgroup.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
i2-icinga.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
icingaapplication.cpp Ensure that config files are readable by the daemon 2016-02-24 14:25:09 +01:00
icingaapplication.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
icingaapplication.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
icingastatuswriter.cpp Convert Comment/Downtime to config objects 2015-10-28 17:56:29 +01:00
icingastatuswriter.hpp Convert Comment/Downtime to config objects 2015-10-28 17:56:29 +01:00
icingastatuswriter.ti Rename DynamicObject/DynamicType to ConfigObject/ConfigType 2015-08-15 20:40:41 +02:00
legacytimeperiod.cpp Fix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec 2016-02-23 09:45:34 +01:00
legacytimeperiod.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
macroprocessor.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
macroprocessor.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
macroresolver.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notification-apply.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notification.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
notification.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notification.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notificationcommand.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notificationcommand.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
notificationcommand.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
objectutils.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
objectutils.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
perfdatavalue.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
perfdatavalue.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
perfdatavalue.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
pluginutility.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
pluginutility.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
scheduleddowntime-apply.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
scheduleddowntime.cpp Fix crash in ScheduledDowntime::TimerProc 2016-03-15 13:15:57 +01:00
scheduleddowntime.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
scheduleddowntime.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
service-apply.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
service.cpp Refactor patch for host recovery notifications 2016-03-15 13:11:01 +01:00
service.hpp Refactor patch for host recovery notifications 2016-03-15 13:11:01 +01:00
service.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicegroup.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicegroup.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicegroup.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
timeperiod.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
timeperiod.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
timeperiod.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
user.cpp Improve validation for arrays 2016-04-20 10:07:23 +02:00
user.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
user.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
usergroup.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
usergroup.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
usergroup.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00