DaanHoogland commented on code in PR #10624:
URL: https://github.com/apache/cloudstack/pull/10624#discussion_r2057831172


##########
server/src/main/java/com/cloud/ha/HighAvailabilityManagerImpl.java:
##########
@@ -294,6 +295,10 @@ public void scheduleRestartForVmsOnHost(final HostVO host, 
boolean investigate)
                 "Host [" + hostDesc + "] is down." + ((sb != null) ? 
sb.toString() : ""));
 
         for (VMInstanceVO vm : reorderedVMList) {
+            VMInstanceVO finalVm = vm;
+            if (pendingHaWorks.stream().anyMatch(h -> h.getInstanceId() == 
finalVm.getId())) {
+                continue;

Review Comment:
   @shwstppr , should we/does it make sense to add a debug or trace statement 
here?



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to