Change in ovirt-engine[master]: core: Add fk constraint on vm_interface_statistics
mlipchuk at redhat.com
mlipchuk at redhat.com
Thu Feb 26 12:47:06 UTC 2015
Maor Lipchuk has submitted this change and it was merged.
Change subject: core: Add fk constraint on vm_interface_statistics
......................................................................
core: Add fk constraint on vm_interface_statistics
Once a network interface is being removed from the Data Base its
corresponding statistics data in _vm_interface_statistics should be
removed also.
Currently, when a Storge Domain is being detached from a Data Center, all the data related
to it is being removed from the Data Base.
Since there is no foreign key between vm_interface and
vm_interface_statistics which does cascade delete there are left overs
which are left in vm_interface_statistics although the vm_interface was
deleted.
Change-Id: I53cf2737ef91cf967c93990fcb237f6c4e12a8f8
Bug-Url: https://bugzilla.redhat.com/1196251
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
A packaging/dbscripts/upgrade/03_06_0930_add_delete_contraint_vm_interface_statistics.sql
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
Maor Lipchuk: Verified; Looks good to me, approved
--
To view, visit https://gerrit.ovirt.org/38170
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I53cf2737ef91cf967c93990fcb237f6c4e12a8f8
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Lior Vernia <lvernia at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list