Bug 1559451

Summary: Replication fails to resume after pg_basebackup restore
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED DUPLICATE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, cpelland, lcouzens, ncarboni, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: black:replication
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-06 09:31:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Nick Carboni 2018-08-01 19:43:32 UTC
The expected behavior here doesn't really make sense. If a database was restored from a backup it won't be able to pick up replication from where it was because the changes to the remote region would have been replayed and discarded already between the backup and restore time.

In fact, if the database is restored using the appliance console all the subscriptions should be dropped. This behavior was backported and released in 5.9.2.0 as a fix for https://bugzilla.redhat.com/show_bug.cgi?id=1553903 which was verified in the same version on the same day this bug was opened.

I'm not sure how this can both work and not work on the same version.

Comment 3 Nick Carboni 2018-08-01 19:44:52 UTC
If this was indeed fixed when the bug from comment 2 was released I think this can be closed as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1540686

Comment 4 luke couzens 2018-08-06 09:31:28 UTC
Hey Nick,
I was unsure whether this was correct or not just because we have two backup methods currently and the restoring differs slightly, but your right it wouldn't be able to continue working after the restore. I will close this bug as a dup but perhaps there should be a docs bug opened or even a notification added after the restore that says any replication subscriptions that were in place will need to be re-deployed.

*** This bug has been marked as a duplicate of bug 1540686 ***