From 1f4563c84ba40ac7bbb5f1f40b7d7038a2c83993 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 28 Nov 2024 10:26:17 +0100 Subject: [PATCH] UnreachableParent: Don't stop recursion at unreachable redundancy groups --- library/Icingadb/Model/UnreachableParent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icingadb/Model/UnreachableParent.php b/library/Icingadb/Model/UnreachableParent.php index 9ceaa6517..adc30666c 100644 --- a/library/Icingadb/Model/UnreachableParent.php +++ b/library/Icingadb/Model/UnreachableParent.php @@ -154,7 +154,7 @@ private static function selectNodes(Connection $db, Model $root): Select ]); $nodeQuery->filter(Filter::any( Filter::equal('dependency.state.failed', 'y'), - Filter::equal('to.redundancy_group.state.failed', 'y') + Filter::equal('to.redundancy_group.state.is_reachable', 'n') )); $nodeSelect = $nodeQuery->assembleSelect();