| From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
|---|---|
| To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
| Cc: | depesz(at)depesz(dot)com, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Problem with streaming replication, backups, and recovery (9.0.x) |
| Date: | 2011-03-30 06:25:30 |
| Message-ID: | AANLkTimnkcYKnazLrUrGZE2mGnFW45k2KyXoJXvZVPtn@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Mar 30, 2011 at 11:39 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
> On Wed, Mar 30, 2011 at 12:54 AM, Heikki Linnakangas
> <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
>> Hmm, why did we change that?
>
> I'm not sure, but I guess that's because I missed the case where crash
> recovery starts from the backup :(
>
>> It seems like a mistake, the database is not
>> consistent until you reach the backup stop location, whether or not you're
>> doing archive recovery. +1 for reverting that, and backpatching it as well.
>
> Agreed.
Attached patch reverts that. Comments?
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
| Attachment | Content-Type | Size |
|---|---|---|
| backup_stop_location_v1.patch | application/octet-stream | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2011-03-30 07:24:53 | Re: Replication server timeout patch |
| Previous Message | Heikki Linnakangas | 2011-03-30 05:59:37 | Re: Typos |