Selvasundaram has posted comments on this change. Change subject: engine: Get gluster hooks query ......................................................................
Patch Set 6: (3 inline comments) .................................................... File backend/manager/dbscripts/gluster_hooks_sp.sql Line 75: RETURNS VOID Line 76: AS $procedure$ Line 77: BEGIN Line 78: DELETE FROM gluster_hooks Line 79: WHERE id in (select ID from fnSplitterUuid(v_hook_ids)); Done Line 80: END; $procedure$ Line 81: LANGUAGE plpgsql; Line 82: Line 83: Line 104: UPDATE gluster_hooks Line 105: SET Line 106: hook_status = v_status, Line 107: _update_date = LOCALTIMESTAMP Line 108: WHERE cluster_id = v_cluster_id AND hook_name = v_hook_name; Hook name can not be duplicated - An unique index created with "clluster_id and hook_name". Update will effect only one row. Line 109: END; $procedure$ Line 110: LANGUAGE plpgsql; Line 111: Line 112: .................................................... File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/gluster/GlusterHookStage.java Line 13: Line 14: /** Line 15: * Hook execution level - post Line 16: */ Line 17: POST, Done Line 18: -- 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: 6 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Selvasundaram <[email protected]> Gerrit-Reviewer: Gilad Chaplik <[email protected]> Gerrit-Reviewer: Itamar Heim <[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
