Re: [BUG?] lag of minRecoveryPont in archive recovery - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [BUG?] lag of minRecoveryPont in archive recovery
Date
Msg-id 50C60EDE.206@vmware.com
Whole thread Raw
In response to Re: [BUG?] lag of minRecoveryPont in archive recovery  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: [BUG?] lag of minRecoveryPont in archive recovery
List pgsql-hackers
On 10.12.2012 13:50, Heikki Linnakangas wrote:
> So I'd say we should update minRecoveryPoint first, then
> truncate/delete. But we should still keep the XLogFlush() at the end of
> xact_redo_commit_internal(), for the case where files/directories are
> created. Patch attached.

Committed and backpatched that. Attached is a script I used to reproduce
this problem, going back to 8.4.

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Xin Pan
Date:
Subject: replication optimization: page writes only at the slave
Next
From: Hannu Krosing
Date:
Subject: Re: replication optimization: page writes only at the slave