Backup history file should be replicated in Streaming Replication?

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Backup history file should be replicated in Streaming Replication?
Date: 2009-11-26 07:15:21
Message-ID: 3f0b79eb0911252315x302ab7dfv71b67845c6c80ac8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

HS begins accepting read-only queries after a recovery reaches
minRecoveryPoint (i.e., a database has become consistent). So,
a wrong minRecoveryPoint would execute read-only queries on an
inconsistent database. A backup history file should be replicated
at the beginning of the standby's recovery.

This problem should be addressed right now? Or, I should wait
until current simple SR patch has been committed?

Regards,

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2009-11-26 07:18:55 Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION
Previous Message Jeff Davis 2009-11-26 07:13:43 Re: operator exclusion constraints