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

Commitb4f584f

Browse files
committed
Reset InstallXLogFileSegmentActive after walreceiver self-initiated exit.
After commitcc2c7d6 added this flag,failure to reset it caused assertion failures. In non-assert builds, itmade the system fail to achieve the objectives listed in that commit;chiefly, we might emit a spurious log message. Back-patch to v15, wherethat commit first appeared.Bharath Rupireddy and Kyotaro Horiguchi. Reviewed by Dilip Kumar,Nathan Bossart and Michael Paquier. Reported by Dilip Kumar.Discussion:https://postgr.es/m/CAFiTN-sE3ry=ycMPVtC+Djw4Fd7gbUGVv_qqw6qfzp=JLvqT3g@mail.gmail.com
1 parent7beda87 commitb4f584f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3535,8 +3535,7 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
35353535
* walreceiver is not active, so that it won't overwrite
35363536
* WAL that we restore from archive.
35373537
*/
3538-
if (WalRcvStreaming())
3539-
XLogShutdownWalRcv();
3538+
XLogShutdownWalRcv();
35403539

35413540
/*
35423541
* Before we sleep, re-scan for possible new timelines if

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp