Change in ovirt-engine[master]: core: filter duplicate requests to migrate the same vm

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 <ahadas@redhat.com> --- 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 <ahadas@redhat.com> Gerrit-Reviewer: Arik Hadas <ahadas@redhat.com> Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
ahadas@redhat.com