New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #13309] Service_set has no host relation in db #624
Comments
Updated by tgelf on 2016-11-28 08:03:20 +00:00
|
Updated by tgelf on 2016-11-28 08:07:41 +00:00
We must apply the queries from the linked issue before the migration, then we should be fine. Queries need to be restructured for PostgreSQL as it can't DELETE in a JOIN - at least as far as I remember. |
Updated by tgelf on 2016-12-05 16:06:12 +00:00
|
Updated by tgelf on 2016-12-07 09:30:13 +00:00
Had to push a small modification, but to me this is fine right now. |
Updated by tgelf on 2016-12-07 09:30:23 +00:00
|
Updated by tgelf on 2016-12-08 10:04:14 +00:00
Have to reopen this, IMO the constraint is wrong - DELETEing a host should CASCADE to it's sets. Currently you cannot delete a Host unless it has a service set. |
Updated by tgelf on 2016-12-13 08:53:14 +00:00
|
Updated by tgelf on 2016-12-13 13:51:23 +00:00
As we have a dedicated bug report right now I'll close this one. |
Updated by tgelf on 2016-12-14 21:30:36 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/13309
Created by mfrosch on 2016-11-24 11:19:30 +00:00
Assignee: mfrosch
Status: Resolved (closed on 2016-12-13 13:51:23 +00:00)
Target Version: 1.3.0
Last Update: 2016-12-13 13:51:23 +00:00 (in Redmine)
Or deletetion handling.
Deleting a host with service sets can break things.
Changesets
2016-11-25 08:06:01 +00:00 by mfrosch a2df4c8
2016-11-25 08:06:14 +00:00 by mfrosch d408f72
2016-11-25 08:06:16 +00:00 by mfrosch 6af75c0
2016-11-28 14:32:41 +00:00 by mfrosch 3a8cad2
2016-11-28 14:32:41 +00:00 by mfrosch 84f39a6
2016-11-28 15:46:47 +00:00 by mfrosch 64284ee
Relations:
The text was updated successfully, but these errors were encountered: