postgresql/src/include/storage
Fujii Masao 39b03690b5 Log long wait time on recovery conflict when it's resolved.
This is a follow-up of the work done in commit 0650ff2303. This commit
extends log_recovery_conflict_waits so that a log message is produced
also when recovery conflict has already been resolved after deadlock_timeout
passes, i.e., when the startup process finishes waiting for recovery
conflict after deadlock_timeout. This is useful in investigating how long
recovery conflicts prevented the recovery from applying WAL.

Author: Fujii Masao
Reviewed-by: Kyotaro Horiguchi, Bertrand Drouvot
Discussion: https://postgr.es/m/9a60178c-a853-1440-2cdc-c3af916cff59@amazon.com
2021-01-13 22:59:17 +09:00
..
.gitignore When trace_lwlocks is used, identify individual lwlocks by name. 2015-09-11 14:01:39 -04:00
backendid.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
barrier.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
block.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
buf.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
buf_internals.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
buffile.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
bufmgr.h Optimize DropRelFileNodesAllBuffers() for recovery. 2021-01-13 07:46:11 +05:30
bufpage.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
checksum.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
checksum_impl.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
condition_variable.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
copydir.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
dsm.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
dsm_impl.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
fd.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
freespace.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
fsm_internals.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
indexfsm.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
ipc.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
item.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
itemid.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
itemptr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
large_object.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
latch.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
lmgr.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
lock.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
lockdefs.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
lwlock.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
md.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
off.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_sema.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pg_shmem.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pmsignal.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
predicate.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
predicate_internals.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
proc.h Add idle_session_timeout. 2021-01-06 18:28:52 -05:00
procarray.h Detect the deadlocks between backends and the startup process. 2021-01-06 12:39:18 +09:00
proclist.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
proclist_types.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
procsignal.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
reinit.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
relfilenode.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
s_lock.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
sharedfileset.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
shm_mq.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
shm_toc.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
shmem.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
sinval.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
sinvaladt.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
smgr.h Optimize DropRelFileNodeBuffers() for recovery. 2021-01-12 07:45:40 +05:30
spin.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
standby.h Log long wait time on recovery conflict when it's resolved. 2021-01-13 22:59:17 +09:00
standbydefs.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
sync.h Update copyright for 2021 2021-01-02 13:06:25 -05:00