Omer Frenkel has posted comments on this change.

Change subject: core: change shared-lock msg of AddVmFromTemplate
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
Line 1528:         while(iter.hasNext()) {
Line 1529:             
result.addAll(Arrays.asList(iter.next().split("(?=\\$)")));
Line 1530:         }
Line 1531:         return result;
Line 1532:     }
@yair - the state is on the lock, in the command, each command 'tell' the lock 
the reason, so when other command try to take exclusive lock (and will fail) it 
will know why

anyway after re-thinking with arik, his unit tests should meka us feel better 
with this
Line 1533: 
Line 1534:     private EngineLock buildLock() {
Line 1535:         EngineLock lock = null;
Line 1536:         Map<String, Pair<String, String>> exclusiveLocks = 
getExclusiveLocks();


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I9fcc4d70bd5ca28c87ca7834bf2b699da5140fc5
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[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