diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2013-01-29 00:06:15 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2013-01-29 00:06:15 +0000 |
commit | fd4ced5230162b50a5c9d33b4bf9cfb1231aa62e (patch) | |
tree | 2885c42307d960d313165dc1faa5cb34ff59eb5f /src/backend/access/gist/gistbuildbuffers.c | |
parent | ee22c55f5ad2e7b7032cd6c0243254d84d4496c7 (diff) | |
download | postgresql-fd4ced5230162b50a5c9d33b4bf9cfb1231aa62e.tar.gz postgresql-fd4ced5230162b50a5c9d33b4bf9cfb1231aa62e.zip |
Fast promote mode skips checkpoint at end of recovery.
pg_ctl promote -m fast will skip the checkpoint at end of recovery so that we
can achieve very fast failover when the apply delay is low. Write new WAL record
XLOG_END_OF_RECOVERY to allow us to switch timeline correctly for downstream log
readers. If we skip synchronous end of recovery checkpoint we request a normal
spread checkpoint so that the window of re-recovery is low.
Simon Riggs and Kyotaro Horiguchi, with input from Fujii Masao.
Review by Heikki Linnakangas
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions