Change in ovirt-engine[master]: core: Add the ability to create a dummy task in case of VDSM...
yzaslavs at redhat.com
yzaslavs at redhat.com
Thu Jul 18 10:19:10 UTC 2013
Yair Zaslavsky has submitted this change and it was merged.
Change subject: core: Add the ability to create a dummy task in case of VDSM failure
......................................................................
core: Add the ability to create a dummy task in case of VDSM failure
The following patch provides a helper method to create a dummy task
in case there is VDSM failure when running asynchronous command.
The dummy SPM task will be at ended stage, and the root command that
causes all the tasks will fail (endWithFailure will be executed).
Change-Id: I6e977596af52c81a1aed1b8748a30b9425c62fa3
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskManager.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandMultiAsyncTasks.java
3 files changed, 22 insertions(+), 7 deletions(-)
Approvals:
Yair Zaslavsky: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/16642
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6e977596af52c81a1aed1b8748a30b9425c62fa3
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list