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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to