Yair Zaslavsky has posted comments on this change.
Change subject: core: Use container id for memory lock in import process.
......................................................................
Patch Set 3: Code-Review+2
(1 comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
Line 133: }
Line 134:
Line 135: @Override
Line 136: protected Map<String, Pair<String, String>> getSharedLocks() {
Line 137: return
Collections.singletonMap(getParameters().getContainerId().toString(),
containerId is evil and should be abolished. hard to understand what is
containerId and which entity it relates to,
it's like the soon to be dead (i hope) entityId/entityInfo.
besides that, the patch is ok.
Line 138: LockMessagesMatchUtil.makeLockingPair(
Line 139: LockingGroup.REMOTE_VM,
Line 140: getVmIsBeingImportedMessage()));
Line 141: }
--
To view, visit http://gerrit.ovirt.org/18416
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie849300bdc98020aeca90deeddafd12295e8211a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches