Roy Golan has posted comments on this change.

Change subject: core: Detect host in idle prep for maintenance and re-migrate
......................................................................


Patch Set 8:

stored proc GetAllVMsMigraqtingTo(VdsId) is counting only VMs in migrating to 
the vds_id  and status = 6 (MigrateTo) this means only VMs *AFTER* the handover:
  
  SELECT DISTINCT vms.*
     FROM vms
     WHERE migrating_to_vds = v_vds_id
     AND status = 6;

to get vms before the handover I changed it to 5  the host almost immediatly 
goes to maintence, which is nice.


so the change needs to be to drop the status from the query, namely and filter 
in java the Status so NonResponding treatment will not be affected

-- 
To view, visit http://gerrit.ovirt.org/17942
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0e18bcfbc566b6fd92d276c5c739ba607e2a53f0
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to