icinga2/lib/icinga
Julian Brost 24b57f0d3a Namespace: don't acquire shared locks on frozen namespaces
This makes freezing a namespace an irrevocable operation but in return allows
omitting further lock operations. This results in a performance improvement as
reading an atomic bool is faster than acquiring and releasing a shared lock.

ObjectLocks on namespaces remain untouched as these mostly affect write
operations which there should be none of after freezing (if there are some,
they will throw exceptions anyways).
2023-01-19 17:56:44 +01:00
..
CMakeLists.txt Revert "Add NotificationResult class" 2020-01-07 14:26:09 +01:00
apiactions.cpp Return correct status codes in process-check-result API 2022-04-26 13:33:59 +02:00
apiactions.hpp Refactor GetSingleObjectByNameUsingPermissions 2020-07-07 15:45:58 +02:00
apievents.cpp ApiEvents: Implement new API event streams response 2021-01-11 14:59:48 +01:00
apievents.hpp ApiEvents: Implement new API event streams response 2021-01-11 14:59:48 +01:00
checkable-check.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
checkable-comment.cpp Fix compiler warnings don't move local variables 2022-02-22 17:51:43 +01:00
checkable-dependency.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
checkable-downtime.cpp Set downtime trigger time deterministically 2021-12-08 14:15:50 +01:00
checkable-event.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
checkable-flapping.cpp Flapping: Allow to ignore states in flapping calculation 2021-01-20 11:09:03 +01:00
checkable-notification.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
checkable-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkable.cpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
checkable.hpp Return correct status codes in process-check-result API 2022-04-26 13:33:59 +02:00
checkable.ti Checkable: improve state notifications after suppression ends 2022-03-03 14:25:23 +01:00
checkcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
checkcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
checkcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkresult.cpp Initialize namespaces without using `overrideFrozen` 2023-01-19 09:53:36 +01:00
checkresult.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
checkresult.ti IcingaDB#SendSentNotification(): make stream deterministic via CheckResult#previous_hard_state 2022-01-10 19:18:11 +01:00
cib.cpp Simplify NamespaceValue class hierarchy to one struct without member functions 2023-01-19 17:55:11 +01:00
cib.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
clusterevents-check.cpp Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006 2021-03-18 17:56:13 +01:00
clusterevents.cpp Checkable: sync state_before_suppression in cluster 2022-03-03 14:25:23 +01:00
clusterevents.hpp Checkable: sync state_before_suppression in cluster 2022-03-03 14:25:23 +01:00
command.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
command.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
command.ti Introduce Command#arguments[].sep 2022-05-11 17:50:12 +02:00
comment.cpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
comment.hpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
comment.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
compatutility.cpp git ls-files -z |xargs -0 perl -pi -e 's/RedisWriter/IcingaDB/g' 2019-11-02 14:00:24 +01:00
compatutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
customvarobject.ti Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
dependency-apply.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
dependency.cpp Tests: Add multi parent dependency test case 2020-02-11 15:13:25 +01:00
dependency.hpp Targeted apply rules: don't unnecessarily eval filter 2022-10-28 14:27:53 +02:00
dependency.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
downtime.cpp Initialize namespaces without using `overrideFrozen` 2023-01-19 09:53:36 +01:00
downtime.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
downtime.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
eventcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
eventcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
eventcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
externalcommandprocessor.cpp Introduce Comment#sticky 2022-03-24 16:42:18 +01:00
externalcommandprocessor.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
host.cpp Implement scheduling_source attribute (#6326) 2021-07-20 11:10:26 +02:00
host.hpp Checkable: Add test for state notifications after a suppression ends 2022-03-03 14:25:23 +01:00
host.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00
hostgroup.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
hostgroup.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
hostgroup.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00
i2-icinga.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icinga-itl.conf Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
icingaapplication.cpp Namespace: don't acquire shared locks on frozen namespaces 2023-01-19 17:56:44 +01:00
icingaapplication.hpp Fix that MaxConcurrentChecks constant is overridden from 'checker' feature 2019-04-16 15:04:57 +02:00
icingaapplication.ti Merge pull request #6970 from Icinga/bugfix/perfdata-gaps 2019-02-26 15:38:15 +01:00
legacytimeperiod.cpp LegacyTimePeriod::ScriptFunc: fix DST edge-cases 2021-11-17 13:09:10 +01:00
legacytimeperiod.hpp LegacyTimePeriod: Prevent modification of input parameters 2021-07-22 15:17:06 +02:00
macroprocessor.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
macroprocessor.hpp Introduce Command#arguments[].sep 2022-05-11 17:50:12 +02:00
macroresolver.hpp Refactor MacroResolver::OverrideMacros 2020-07-03 15:53:51 +02:00
notification-apply.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
notification.cpp Initialize namespaces without using `overrideFrozen` 2023-01-19 09:53:36 +01:00
notification.hpp Targeted apply rules: don't unnecessarily eval filter 2022-10-28 14:27:53 +02:00
notification.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
notificationcommand.cpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
notificationcommand.hpp Use ExecuteOverride to override the command 2020-07-31 17:28:33 +02:00
notificationcommand.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectutils.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectutils.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
pluginutility.cpp PluginUtility::FormatPerfdata(): normalize UoMs if desired 2021-07-05 19:05:32 +02:00
pluginutility.hpp PluginUtility::FormatPerfdata(): normalize UoMs if desired 2021-07-05 19:05:32 +02:00
scheduleddowntime-apply.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
scheduleddowntime.cpp On ScheduledDowntime change: remove future downtimes created before change 2021-07-02 10:37:29 +02:00
scheduleddowntime.hpp Targeted apply rules: don't unnecessarily eval filter 2022-10-28 14:27:53 +02:00
scheduleddowntime.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
service-apply.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
service.cpp Service#GetSeverity(): behave as the respective IDO query of Icinga Web 2022-01-27 12:21:06 +01:00
service.hpp Targeted apply rules: don't unnecessarily eval filter 2022-10-28 14:27:53 +02:00
service.ti Don't allow to change object parent,host/service_name at runtime 2022-09-09 18:26:28 +02:00
servicegroup.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
servicegroup.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
servicegroup.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00
timeperiod.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
timeperiod.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
timeperiod.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00
user.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
user.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
user.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00
usergroup.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
usergroup.hpp Icinga DB: Make sure object relationships are handled correctly 2021-11-12 13:34:57 +01:00
usergroup.ti Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex 2022-05-03 12:02:46 +02:00