Liron Aravot has posted comments on this change.

Change subject: core: add locks to VmTemplate commands (#761515)
......................................................................


Patch Set 14: (1 inline comment)

answered vvolank comment

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmTemplateHandler.java
Line 56:     /**
Line 57:      * Check if template state did not changed from last canDoAction 
check (still not locked and exist in the DB).
Line 58:      *
Line 59:      * @return True if template is at valid state, false otherwise.
Line 60:      */
It was part of this class before.. so I didn't remove it, but left the 
improvements. it can be removed completely in a separate patch if wanted.
Line 61:     public static boolean isTemplateStatusIsNotLocked(Guid id) {
Line 62:         if (VmTemplateHandler.BlankVmTemplateId.equals(id)) {
Line 63:             return true;
Line 64:         }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2d5b6518bbf19077ae5822b9359a6147c87d0f46
Gerrit-PatchSet: 14
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: Vered Volansky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to