Skip site navigation (1) Skip section navigation (2)

Re: Backup history file should be replicated in Streaming Replication?

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Backup history file should be replicated in Streaming Replication?
Date: 2009-11-26 08:02:24
Message-ID: 3f0b79eb0911260002n85a548coa5fd3fc6668d67f9@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Nov 26, 2009 at 4:55 PM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> Fujii Masao wrote:
>> In current SR, since a backup history file is not replicated,
>> the standby always starts an archive recovery without a backup
>> history file, and a wrong minRecoveryPoint might be used. This
>> is not a problem for SR itself, but would cause trouble when
>> SR cooperates with Hot Standby.
>
> But the backup history file is included in the base backup you start
> replication from, right?

No. A backup history file is created by pg_stop_backup().
So it's not included in the base backup.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2009-11-26 08:17:36
Subject: Re: Backup history file should be replicated in Streaming Replication?
Previous:From: Heikki LinnakangasDate: 2009-11-26 07:55:39
Subject: Re: Backup history file should be replicated in Streaming Replication?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group