From: Fujii Masao <masao.fujii@gmail.com>
To: Ben Lancaster <benlancaster@holler.co.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_archivecleanup with multiple slaves
Date: Sat, 21 May 2011 00:30:35 +0900
Message-ID: <BANLkTi=S7bm_2jQfhLZec1OXyUVSW8K7HQ@mail.gmail.com> (raw)
In-Reply-To: <D1FBF69C-F380-4F16-AF57-20A32CB4850C@holler.co.uk>
References: <D1FBF69C-F380-4F16-AF57-20A32CB4850C@holler.co.uk>
On Fri, May 20, 2011 at 7:59 PM, Ben Lancaster
<benlancaster@holler.co.uk> wrote:
> The problem I have is that pg_archivecleanup (running on one of the slaves) was removing WAL logs before the other slave had picked up the changes, thus breaking replication for the second slave. As an interim fix, I simply disabled the automatic cleanup and figured I'd worry about it later.
I'm afraid there is no clean solution. In order to address this
problem, we probably
should change the master for 9.2 so that it collects the information
about the cutoff
point from each standby and calls pg_archivecleanup.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: masao.fujii@gmail.com, benlancaster@holler.co.uk
Subject: Re: pg_archivecleanup with multiple slaves
In-Reply-To: <BANLkTi=S7bm_2jQfhLZec1OXyUVSW8K7HQ@mail.gmail.com>
References: <D1FBF69C-F380-4F16-AF57-20A32CB4850C@holler.co.uk> <BANLkTi=S7bm_2jQfhLZec1OXyUVSW8K7HQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox