Ravi Nori has posted comments on this change.

Change subject: core : Change ImageSpmCommand to not use placeholder mechanism
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.ovirt.org/#/c/37149/4/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImageSpmCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImageSpmCommand.java:

Line 76:     protected void executeCommand() {
Line 77:         VDSReturnValue vdsReturnValue = executeVdsCommand();
Line 78: 
Line 79:         if (vdsReturnValue.getSucceeded()) {
Line 80:             Guid taskId = 
persistAsyncTaskPlaceHolder(getParameters().getParentCommand());
> 1. if we get rid of the infra, why do we persist it at all?
We are only getting rid of inserting all child place holders. Here we insert 
the async_task entry just before creating a task.
Line 81:             
getReturnValue().getInternalVdsmTaskIdList().add(createTask(taskId,
Line 82:                     vdsReturnValue.getCreationInfo(),
Line 83:                     getParameters().getParentCommand(),
Line 84:                     VdcObjectType.Storage,


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I897c9c3cf9e39000f2f2a90b26e01fff7861582c
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
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

Reply via email to