Yair Zaslavsky has posted comments on this change.

Change subject: gluster: Fixed deadlock in nested command execution
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterCommandBase.java
Line 35:     }
Line 36: 
Line 37:     @Override
Line 38:     protected Map<String, String> getExclusiveLocks() {
Line 39:         if (!getParameters().isNested()) {
Why not use the @InternalCommandAttribute ?
Not sure I fully understand what is the difference between nested and internal 
command?. What I mean is - check that the annotation is not present on the 
class.
Line 40:             return 
Collections.singletonMap(getVdsGroupId().toString(), 
LockingGroup.GLUSTER.name());
Line 41:         }
Line 42:         return super.getExclusiveLocks();
Line 43:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id080ad6ac3587ab9c3443cb83969783955dfb082
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shireesh Anjal <san...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Shireesh Anjal <san...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to