Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc93001b

Browse files
committed
Adjust comment about timeout when waiting for WAL at recovery
A timeout of 5s is used when waiting for WAL to become available atrecovery so as the startup process is able to react promptly if atrigger file shows up. However this missed the fact that the startupprocess also relies on the timeout to check periodically the status ofany active WAL receiver.Discussion:https://postgr.es/m/20190131070956.GE13429@paquier.xyz
1 parenteb8c9f0 commitc93001b

File tree

1 file changed

+2
-1
lines changed
  • src/backend/access/transam

1 file changed

+2
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12104,7 +12104,8 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
1210412104

1210512105
/*
1210612106
* Wait for more WAL to arrive. Time out after 5 seconds
12107-
* to react to a trigger file promptly.
12107+
* to react to a trigger file promptly and to check if the
12108+
* WAL receiver is still active.
1210812109
*/
1210912110
(void)WaitLatch(&XLogCtl->recoveryWakeupLatch,
1211012111
WL_LATCH_SET |WL_TIMEOUT |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp