pgsql: Must not reach consistency before XLOG_BACKUP_RECORD - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Must not reach consistency before XLOG_BACKUP_RECORD
Date
Msg-id E1TgF23-0004IX-G2@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Must not reach consistency before XLOG_BACKUP_RECORD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Must not reach consistency before XLOG_BACKUP_RECORD
When waiting for an XLOG_BACKUP_RECORD the minRecoveryPoint
will be incorrect, so we must not declare recovery as consistent
before we have seen the record. Major bug allowing recovery to end
too early in some cases, allowing people to see inconsistent db.
This patch to HEAD and 9.2, other fix required for 9.1 and 9.0

Simon Riggs and Andres Freund, bug report by Jeff Janes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6aa2e49a878d28fbbbe8efe53c3a729a51a01090

Modified Files
--------------
src/backend/access/transam/xlog.c |    7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Must not reach consistency before XLOG_BACKUP_RECORD
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Must not reach consistency before XLOG_BACKUP_RECORD