| Summary: | Unique constraint failure when configuring pglogical replication | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Nick Carboni <ncarboni> |
| Component: | Replication | Assignee: | Nick Carboni <ncarboni> |
| Status: | CLOSED WORKSFORME | QA Contact: | Alex Newman <anewman> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6.0 | CC: | cpelland, jhardy, obarenbo |
| Target Milestone: | GA | ||
| Target Release: | 5.7.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-16 20:03:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
|
Description
Nick Carboni
2016-10-04 14:23:03 UTC
I could not reproduce this. When I ran through this upgrade, I saw the rows get removed from the global database then get re-added after the upgrade. This case should be handled by this part of the migration to add primary keys to the join tables (https://github.com/ManageIQ/manageiq/blob/master/db/migrate/20160406195810_add_id_primary_key_to_join_tables.rb#L50-L55) When the rows are removed, they are then either re-added by rubyrep when the worker is turned back on after the upgrade or by pglogical during the initial sync. Going to close this as WORKSFORME. |