Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: New mechanism in CommandBase (rollback using command)
......................................................................


core: New mechanism in CommandBase (rollback using command)

This mechanism will allow invoking internal commands from
endWithFailure in order to perform rollback at backend.
An example for this is a need to remove a destination image
 after it was successfuly copied (as a result of failure of
another CopyImage).
This mechanism makes sure that the RemoveImage will not end
in endSuccessfuly, even if successful at VDSM, but will end
in endWithFailure.

Change-Id: Ic734d785215de855817acf77c88cba9047b959eb
Acked-By: Mike Kolesnik <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionParametersBase.java
2 files changed, 100 insertions(+), 6 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic734d785215de855817acf77c88cba9047b959eb
Gerrit-PatchSet: 17
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to