Change in ovirt-engine[master]: engine: entity snapshot valiadation

lhornyak at redhat.com lhornyak at redhat.com
Mon May 6 16:53:12 UTC 2013


Laszlo Hornyak has submitted this change and it was merged.

Change subject: engine: entity snapshot valiadation
......................................................................


engine: entity snapshot valiadation

This patch adds a validation to the snapshot mechanism. If there is no
DAO for the entity's class, then the rollback mechanism will not be able
to roll it back, therefore it is be better to fail the transaction
before the compensating transaction tryes and fails to handle the
snapshot.

Change-Id: Ibf28a6d3dd389ab303d2d482e25b94dab4dbafdd
Signed-off-by: Laszlo Hornyak <lhornyak at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/context/DefaultCompensationContext.java
1 file changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Laszlo Hornyak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf28a6d3dd389ab303d2d482e25b94dab4dbafdd
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>



More information about the Engine-commits mailing list