Backup history file should be replicated in Streaming Replication? - Mailing list pgsql-hackers

From Fujii Masao
Subject Backup history file should be replicated in Streaming Replication?
Date
Msg-id 3f0b79eb0911252315x302ab7dfv71b67845c6c80ac8@mail.gmail.com
Whole thread Raw
Responses Re: Backup history file should be replicated in Streaming Replication?
List 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


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: force index problem in 8.4.1
Next
From: Jeff Davis
Date:
Subject: Re: operator exclusion constraints