Oved Ourfali has submitted this change and it was merged.

Change subject: core:  db fix event renaming upgrade script.
......................................................................


core:  db fix event renaming upgrade script.

db upgrade fails if there's a subscription to VDS_HIGH_NETWORK_USE event

Original upgrade script renamed an event without taking in account that
it may be used by subscribers.
This patch updates both event_map and event_sunscriber tables with the
renamed event, in order to do that we need to remove the FK before the
update and adding it back again after the update is finished.

Change-Id: I3ac7f33fad30aba5cc459ec05dc990a60bbc65e0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1093283
Signed-off-by: Eli Mesika <[email protected]>
---
M 
packaging/dbscripts/upgrade/03_05_0160_add_host_interface_high_network_use_event.sql
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Eli Mesika: Verified
  Ohad Basan: Looks good to me, but someone else must approve
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3ac7f33fad30aba5cc459ec05dc990a60bbc65e0
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Ohad Basan <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to