icinga2/lib
Julian Brost ce1ed8556c Simplify DependencyGroup::GetState() implementation
The new implementation just counts reachable and available parents and
determines the overall result by comparing numbers, see inline comments for
more information.

This also fixes an issue in the previous implementation: if it didn't return
early from the loop, it would just return the state of the last parent
considered which may not actually represent the group state accurately.
2025-03-19 16:28:00 +01:00
..
base Merge pull request #10360 from Icinga/dependency-cycle-detection 2025-03-12 15:58:44 +01:00
checker Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
cli Unify depependency cycle check code. 2025-03-12 11:53:30 +01:00
compat Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
config Add ConfigType::BeforeOnAllConfigLoaded signal 2025-03-12 11:53:30 +01:00
db_ido Update object#config_hash after all relations queries 2024-05-22 13:39:30 +02:00
db_ido_mysql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
db_ido_pgsql Merge pull request #9732 from Icinga/silence-compiler-warnings-in-code-we-don-t-maintain 2025-01-15 16:33:24 +01:00
icinga Simplify DependencyGroup::GetState() implementation 2025-03-19 16:28:00 +01:00
icingadb IcingaDB: Process dependencies runtime updates 2025-03-19 16:28:00 +01:00
livestatus Centralise default icinga.* and env.* macros 2023-02-17 15:33:36 +01:00
methods Move Timeout instances from heap to stack 2025-01-07 18:20:50 +01:00
mysql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
notification Explicitly stop started timers and wait for them 2023-04-14 14:52:04 +02:00
perfdata Add closing quotationmarks in Validator for influxdb writer config 2024-09-25 13:03:00 +02:00
pgsql_shim Silence compiler warnings in code we don't maintain 2025-01-14 11:48:33 +01:00
remote Merge pull request #10332 from Icinga/do-not-close-connection-in-request-cert-handler 2025-02-04 10:58:17 +01:00
CMakeLists.txt Rename ICINGA2_WITH_REDIS to ICINGA2_WITH_ICINGADB 2019-11-02 14:00:24 +01:00