Kanagaraj M has posted comments on this change.

Change subject: gluster: BLL queries for volume snapshots list and count
......................................................................


Patch Set 12:

(1 comment)

http://gerrit.ovirt.org/#/c/35674/12/packaging/dbscripts/gluster_volume_snapshot_sp.sql
File packaging/dbscripts/gluster_volume_snapshot_sp.sql:

Line 88:     DELETE FROM gluster_volume_snapshots
Line 89:     WHERE volume_id = v_volume_id;
Line 90:     
Line 91:     UPDATE gluster_volumes
Line 92:     SET snapshot_count = snapshot_count - del_count
you could just set it to '0' if you are deleting all the snapshots of a volume
Line 93:     WHERE id = v_volume_id;
Line 94: END; $procedure$
Line 95: LANGUAGE plpgsql;
Line 96: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I00cd2a52c9bd10946b8702d833d6f8f0ebb3f848
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to