Arik Hadas has submitted this change and it was merged.

Change subject: core: filter duplicate requests to migrate the same vm
......................................................................


core: filter duplicate requests to migrate the same vm

Because of a bug in the UI, we might get several requests together to
migrate the same VM. It produces an error message to the user saying the
VM is already been migrated although it is actually being migrated
because of his request.

The solution is to override the hashCode and equals method in the
parameters of migration so duplicate requests will be filtered by
MultipleActionRunner.

Change-Id: Idda26210b9cf4f2746e27a3291bab20b10aaf103
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/MigrateVmParameters.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/MigrateVmToServerParameters.java
2 files changed, 52 insertions(+), 1 deletion(-)

Approvals:
  Arik Hadas: Verified
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idda26210b9cf4f2746e27a3291bab20b10aaf103
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Shahar Havivi <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to