Re: Strange issues with 9.2 pg_basebackup & replication

From: Ants Aasma <ants(at)cybertec(dot)at>
To: Joshua Berkus <josh(at)agliodbs(dot)com>
Cc: Jim Nasby <jim(at)nasby(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Subject: Re: Strange issues with 9.2 pg_basebackup & replication
Date: 2012-05-17 13:42:20
Message-ID: CA+CSw_vh9Pv2dEsS0ees8FHAAHeDD9uvzn39vmD2eQW6aNBYaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 17, 2012 at 3:42 PM, Joshua Berkus <josh(at)agliodbs(dot)com> wrote:
> Even more fun:
>
> 1) Set up a server as a cascading replica (e.g. max_wal_senders = 3, standby_mode = on )
>
> 2) Connect the server to *itself* as a replica.
>
> 3) This will work and report success, up until you do your first write.
>
> 4) Then ... segfault!

I cannot reproduce this. Attached is the script that I use for cascade
replication testing. With it I can see the replica connecting to
itself but no segfault.

Ants Aasma
--
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de

Attachment Content-Type Size
test_cascading.sh application/x-sh 4.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Rijkers 2012-05-17 13:53:59 Re: master and sync-replica diverging
Previous Message Florian Pflug 2012-05-17 13:08:26 Re: read() returns ERANGE in Mac OS X