pgsql: Start Hot Standby faster when initial snapshot is incomplete. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Start Hot Standby faster when initial snapshot is incomplete.
Date
Msg-id E1RLWUT-0004dz-Kb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Start Hot Standby faster when initial snapshot is incomplete.
If the initial snapshot had overflowed then we can start whenever
the latest snapshot is empty, not overflowed or as we did already,
start when the xmin on primary was higher than xmax of our starting
snapshot, which proves we have full snapshot data.

Bug report by Chris Redekop

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/10b7c686e52a6d1bb10194ebf9331ef06f044d46

Modified Files
--------------
src/backend/storage/ipc/procarray.c |   50 +++++++++++++++++++++-------------
1 files changed, 31 insertions(+), 19 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Start Hot Standby faster when initial snapshot is incomplete.
Next
From: Simon Riggs
Date:
Subject: pgsql: Derive oldestActiveXid at correct time for Hot Standby.