]> granicus.if.org Git - postgresql/commit
In HS, Startup process sets SIGALRM when waiting for buffer pin. If
authorSimon Riggs <simon@2ndQuadrant.com>
Sat, 23 Jan 2010 16:37:12 +0000 (16:37 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Sat, 23 Jan 2010 16:37:12 +0000 (16:37 +0000)
commit959ac58c04130d467fb05e63a3ceb8e2ded404c7
tree314eeeea7c6c8afa7cbe35bfe5ecde04eff35f71
parent4fa69e566cf1b836ae8aa9bee24ab0c556cfe94e
In HS, Startup process sets SIGALRM when waiting for buffer pin. If
woken by alarm we send SIGUSR1 to all backends requesting that they
check to see if they are blocking Startup process. If so, they throw
ERROR/FATAL as for other conflict resolutions. Deadlock stop gap
removed. max_standby_delay = -1 option removed to prevent deadlock.
16 files changed:
doc/src/sgml/backup.sgml
doc/src/sgml/config.sgml
src/backend/access/transam/xlog.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/ipc/procarray.c
src/backend/storage/ipc/procsignal.c
src/backend/storage/ipc/standby.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/include/storage/bufmgr.h
src/include/storage/proc.h
src/include/storage/procarray.h
src/include/storage/procsignal.h
src/include/storage/standby.h