diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-01-13 22:59:17 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-01-13 22:59:17 +0900 |
commit | 39b03690b529935a3c33024ee68f08e2d347cf4f (patch) | |
tree | 535e89716c5be4aebec5debb1db1e37e6f0d43c3 /doc/src | |
parent | 6ecaaf810b8b9e3132f00549e630400f38a7ca37 (diff) | |
download | postgresql-39b03690b529935a3c33024ee68f08e2d347cf4f.tar.gz postgresql-39b03690b529935a3c33024ee68f08e2d347cf4f.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 7c0a673a8dd..82864bbb247 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -6961,7 +6961,7 @@ log_line_prefix = '%m [%p] %q%u@%d/%a ' <listitem> <para> Controls whether a log message is produced when the startup process - is waiting longer than <varname>deadlock_timeout</varname> + waits longer than <varname>deadlock_timeout</varname> for recovery conflicts. This is useful in determining if recovery conflicts prevent the recovery from applying WAL. </para> |