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 <mlipc...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Liron Ar <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches