weizhouapache commented on a change in pull request #4886:
URL: https://github.com/apache/cloudstack/pull/4886#discussion_r639498575



##########
File path: server/src/main/java/com/cloud/api/query/QueryManagerImpl.java
##########
@@ -1341,6 +1342,27 @@
             sb.and("networkId", sb.entity().getNetworkId(), 
SearchCriteria.Op.EQ);
         }
 
+        List<Long> routersWithFailures = null;
+        if (VirtualNetworkApplianceManager.RouterHealthChecksEnabled.value() 
&& isHealthCheckFailed != null) {

Review comment:
       @sureshanaparti 
   I think we need to make sure that the health check results are correct.
   if "router.health.checks.enabled" is changed from "true" to "false", we'd 
better remove all existing health check results as they will not be updated any 
more. btw: can we perform health check via api or ui when 
router.health.checks.enabled" is 'false" ?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to