Re: Strange issues with 9.2 pg_basebackup & replication

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange issues with 9.2 pg_basebackup & replication
Date: 2012-05-13 20:08:48
Message-ID: 4FB014D0.1030003@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

More issues: promoting intermediate standby breaks replication.

To be a bit blunt here, has anyone tested cascading replication *at all*
before this?

So, same setup as previous message.

1. Shut down master-master.

2. pg_ctl promote master-replica

3. replication breaks. error message on replica-replica:

FATAL: timeline 2 of the primary does not match recovery target timeline 1

4. No amount of adjustment on replica-replica will get it replicating
again.

Note that replica-replica was configured with:

recovery_target_timeline = 'latest'

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2012-05-13 20:44:07 Re: Strange issues with 9.2 pg_basebackup & replication
Previous Message Peter Geoghegan 2012-05-13 20:01:03 Re: Draft release notes complete