Moti Asayag has posted comments on this change.

Change subject: aaa: more fixes to command context propgation
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/29290/1/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 2179:         return getBackend().runInternalQuery(type, queryParams, 
context.getEngineContext());
Line 2180:     }
Line 2181: 
Line 2182:     protected CommandContext cloneOnlyEngineContext() {
Line 2183:         return 
getContext().withoutCompensationContext().withoutExecutionContext().withoutLock();
> Why not? I clone the engineContext :)
because you're using "getContext()" which is:

    public CommandContext getContext() {
        return context;
    }

there is no cloning in the method. This method only modifies the current 
context.

isn't it ?
Line 2184:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icbf9e0216c83d981d11bb2d8d2a939fd2a279d9d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alo...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@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