Arik Hadas has posted comments on this change.

Change subject: core: always attempt to clear tasks without vdsm id
......................................................................


Patch Set 3:

(1 comment)

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

Line 331:             } else {
Line 332:                 getReturnValue().setCanDoAction(false);
Line 333:             }
Line 334:         } finally {
Line 335:             freeLockExecute();
> Yair, As i see it - when command execution end, there shouldn't be any task
Yair, let's distinguish two cases:
1. to run orphan command asynchronously 
2. to run child command asynchronously

I don't see a reason for #2.
Assuming #2 doesn't exist, Liron is right.

Why would we need #2?
Line 336:             clearAsyncTasksWithOutVdsmId();
Line 337:         }
Line 338:         return getReturnValue();
Line 339:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib98e90eb3e078761b9ad9d0a30b21c9db20bd7d5
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <lara...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadg...@redhat.com>
Gerrit-Reviewer: Liron Aravot <lara...@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