Doron Fediuck has submitted this change and it was merged.
Change subject: core: checking quota even if can-do fails (#846777)
......................................................................
core: checking quota even if can-do fails (#846777)
https://bugzilla.redhat.com/846777
there is a problem in quota flow, that I validate and set (set is the wrong part here)
quota even if the command fails. that causes a lot of problems when the command fails
and the quota get validated, and the use of that command is getting cached...
therefore, the validate & set quota will be invoked iff all the command will go on to
the execute part.
Change-Id: I0f4dd77582985f521ef0009b421cbd0e83466b57
Signed-off-by: Gilad Chaplik <gchaplik(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Doron Fediuck: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/7585
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f4dd77582985f521ef0009b421cbd0e83466b57
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>