From: | KONDO Mitsumasa <kondo(dot)mitsumasa(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Install recycled WAL segments with current timeline ID during re |
Date: | 2013-05-02 04:30:13 |
Message-ID: | 5181EBD5.8050709@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Thanks for creating patch !!
I test this patch, it seems to fix this problem. I think recovery and WAL write
control are very difficult... So I make debug log which is more helpful for like
this trouble.
Though I think you have already known, this problem has occurred in also master
database in PITR.
Sorry for my reply is late. In japan, we are in long vacation called Golden Week.
We will test more for next release version after Golden Week.
Best regards,
(2013/04/30 23:50), Heikki Linnakangas wrote:
> Install recycled WAL segments with current timeline ID during recovery.
>
> This is a follow-up to the earlier fix, which changed the recycling logic
> to recycle WAL segments under the current recovery target timeline. That
> turns out to be a bad idea, because installing a recycled segment with
> a TLI higher than what we're recovering at the moment means that the recovery
> logic will find the recycled WAL segment and try to replay it. It will fail,
> but but the mere presence of such a WAL segment will mask any other, real,
> file with the same log/seg, but smaller TLI.
>
> Per report from Mitsumasa Kondo. Apply to 9.1 and 9.2, like the previous
> fix. Master was already doing this differently; this patch makes 9.1 and
> 9.2 to do the same thing as master.
--
NTT Open Sorce Software Center
Mitsumasa KONDO
Attachment | Content-Type | Size |
---|---|---|
XLogFileReadAnyTLI-Log-fix.patch | text/x-diff | 445 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | KONDO Mitsumasa | 2013-05-02 04:39:28 | Re: pgsql: Install recycled WAL segments with current timeline ID during re |
Previous Message | Bruce Momjian | 2013-05-02 00:25:09 | Re: [COMMITTERS] pgsql: Make fast promotion the default promotion mode. |