From: | heikki(at)postgresql(dot)org (Heikki Linnakangas) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Check for partial WAL files in standby mode. |
Date: | 2010-02-12 07:36:44 |
Message-ID: | 20100212073644.F19C97541C5@cvs.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Check for partial WAL files in standby mode. If restore_command restores
a partial WAL file, assume it's because the file is just being copied to
the archive and treat it the same as "file not found" in standby mode.
pg_standby has a similar check, so it seems reasonable to have the same
level of protection in the built-in standby mode.
Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.370 -> r1.371)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.370&r2=1.371)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2010-02-12 07:37:40 | Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL |
Previous Message | Fujii Masao | 2010-02-12 05:38:32 | Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL |