Shireesh Anjal has posted comments on this change.

Change subject: engine: Manage Gluster hooks support
......................................................................


Patch Set 20: (2 inline comments)

Responses to some key discussions on patch-set 20 in-line. Will separately 
review patch-set 21.

....................................................
File backend/manager/dbscripts/gluster_hooks_sp.sql
Line 27: 
Line 28: 
Line 29: 
Line 30: Create or replace FUNCTION GetGlusterHookById(v_id UUID,
Line 31:                                               v_returnAll 
BOOLEAN=false)
Yeah, maybe v_includeContent ?
Line 32: RETURNS SETOF gluster_hooks
Line 33: AS $procedure$
Line 34: BEGIN
Line 35:     if (v_returnAll = true) then


....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/gluster/GlusterHookConflictFlags.java
Line 2: 
Line 3: public enum GlusterHookConflictFlags {
Line 4:     CONTENT_CONFLICT (1), //0b001
Line 5:     STATUS_CONFLICT(2), //0b010
Line 6:     MISSING_HOOK (4); //0b100
My bad, I thought there are only 4 possibilities, but there are 8. So the bit 
values help. So this code is ok with me. It basically means that these three 
represent the three bits, and not really all possible values for the conflict 
flag. Maybe, adding a comment at the top would help the readers.
Line 7: 
Line 8:     private Integer flag;
Line 9: 
Line 10:     private GlusterHookConflictFlags(Integer value) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If8b2d261ead720fccea6884acbc806ec79e52b36
Gerrit-PatchSet: 20
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Selvasundaram <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Selvasundaram <[email protected]>
Gerrit-Reviewer: Shireesh Anjal <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to