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

Commita472ae1

Browse files
committed
Fix Hot Standby feedback sending when streaming busily.
Commit6f60fdd accidentally removed acall to XLogWalRcvSendHSFeedback() after flushing received WAL to disk.The consequence is that when walsender is busy streaming WAL, it doesn'tsend HS feedback messages. One is sent if nothing is received from themaster for 100ms, but if there's a steady stream of WAL, it never happens.Backpatch to 9.3.Andres Freund and Amit Kapila
1 parent61bee9f commita472ae1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/backend/replication/walreceiver.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,10 @@ XLogWalRcvFlush(bool dying)
10071007

10081008
/* Also let the master know that we made some progress */
10091009
if (!dying)
1010+
{
10101011
XLogWalRcvSendReply(false, false);
1012+
XLogWalRcvSendHSFeedback(false);
1013+
}
10111014
}
10121015
}
10131016

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp