Yair Zaslavsky has posted comments on this change.

Change subject: engine : command infrastructure should know when the "execute" 
phase finished
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.ovirt.org/#/c/30281/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandExecutor.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/tasks/CommandExecutor.java:

Line 80:             for (CommandEntity cmdEntity : 
coco.getCommandsWithCallBackEnabled()) {
Line 81:                 switch(cmdEntity.getCommandStatus()) {
Line 82:                     case ACTIVE_SYNC:
Line 83:                     case ACTIVE_ASYNC:
Line 84:                     case NOT_STARTED:
> Commands that use CommandExecutor framework should set status to ACTIVE_SYN
Not sure i understood your answer, Ravi.
Line 85:                         
coco.retrieveCommand(cmdEntity.getId()).setCommandStatus(CommandStatus.FAILED_RESTARTED);
Line 86:                         break;
Line 87:                     default:
Line 88:                         if (!cmdEntity.isCallBackNotified()) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie36e7d8a0263d5dd90fabe914a76711d5c001e72
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Greg Padgett <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [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

Reply via email to