Ensure no xid gaps during Hot Standby startup

In some cases with higher numbers of subtransactions
it was possible for us to incorrectly initialize
subtrans leading to complaints of missing pages.

Bug report by Sergey Konoplev
Analysis and fix by Andres Freund

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/99ee15b315c187045a95db7b27fd9d866aea93e0

Modified Files
--------------
src/backend/access/transam/xlog.c | 3 ++
src/backend/storage/ipc/procarray.c | 53 +++++++++++++++++++++++++++++++----
src/include/storage/procarray.h | 1 +
3 files changed, 51 insertions(+), 6 deletions(-)

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 5 | next ›
Discussion Overview
grouppgsql-committers @
categoriespostgresql
postedJun 23, '13 at 1:51p
activeJun 23, '13 at 1:52p
posts5
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Simon Riggs: 5 posts

People

Translate

site design / logo © 2017 Grokbase