Re: Switching timeline over streaming replication
Heikki Linnakangas <hlinnakangas@vmware.com>
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Amit Kapila <amit.kapila@huawei.com>
Cc: 'PostgreSQL-development' <pgsql-hackers@postgreSQL.org>
Date: 2012-11-15T12:34:39Z
Lists: pgsql-hackers
Attachments
- streaming-tli-switch-6.patch.gz (application/x-gzip) patch
On 15.11.2012 12:44, Heikki Linnakangas wrote: > Here's an updated version of this patch, rebased with master, including > the recent replication timeout changes, and some other cleanup. > > On 12.10.2012 09:34, Amit Kapila wrote: >> The test is finished from myside. >> >> one more issue: > > ... >> ./pg_basebackup -P -D ../../data_sub -X fetch -p 2303 >> pg_basebackup: COPY stream ended before last file was finished > > Fixed this. > > However, the test scenario you point to here: > http://archives.postgresql.org/message-id/00a801cda6f3$4aba27b0$e02e7710$@kapila@huawei.com > still seems to be broken, although I get a different error message now. > I'll dig into this.. Ok, here's an updated patch again, with that bug fixed. - Heikki