summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorFujii Masao2020-11-16 09:27:51 +0000
committerFujii Masao2020-11-16 09:27:51 +0000
commit2945a488a3426838223a637cd326ec71fff61954 (patch)
treee848844e569a2d4da5f5e3455190f97c6305812c /src/backend/access/gist/gistproc.c
parent7adb8feb0f69fd9c79078c6cea984bb4bff1c841 (diff)
Make the standby server promptly handle interrupt signals.
This commit changes the startup process in the standby server so that it handles the interrupt signals after waiting for wal_retrieve_retry_interval on the latch and resetting it, before entering another wait on the latch. This change causes the standby server to promptly handle interrupt signals. Otherwise, previously, there was the case where the standby needs to wait extra five seconds to shutdown when the shutdown request arrived while the startup process was waiting for wal_retrieve_retry_interval on the latch. Author: Fujii Masao, but implementation idea is from Soumyadeep Chakraborty Reviewed-by: Soumyadeep Chakraborty Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions