Change in ovirt-engine[master]: core: better handling of migrating vm crush

ahadas at redhat.com ahadas at redhat.com
Sun Apr 24 10:21:11 UTC 2016


Arik Hadas has submitted this change and it was merged.

Change subject: core: better handling of migrating vm crush
......................................................................


core: better handling of migrating vm crush

Restructure the part that handles MIGRATING_FROM to DOWN in
proceedDownVm to switch-cast statement to simplify it.

Rename proceedVmBeforeDeletion to abortVmMigration since it
better describes its work and set moveToDown to true inside
this method - by that, the call to clearVm that was done
afterwards is unneeded anymore.

Change-Id: I3cc1333742d7ef0058fc754ea725d55064156484
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/monitoring/VmAnalyzer.java
1 file changed, 22 insertions(+), 26 deletions(-)

Approvals:
  Shahar Havivi: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Arik Hadas: Verified



-- 
To view, visit https://gerrit.ovirt.org/56256
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3cc1333742d7ef0058fc754ea725d55064156484
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list