pgsql: Fix Hot Standby feedback sending when streaming busily. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix Hot Standby feedback sending when streaming busily.
Date
Msg-id E1W3uIO-00029X-4u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix Hot Standby feedback sending when streaming busily.

Commit 6f60fdd7015b032bf49273c99f80913d57eac284 accidentally removed a
call to XLogWalRcvSendHSFeedback() after flushing received WAL to disk.
The consequence is that when walsender is busy streaming WAL, it doesn't
send HS feedback messages. One is sent if nothing is received from the
master for 100ms, but if there's a steady stream of WAL, it never happens.

Backpatch to 9.3.

Andres Freund and Amit Kapila

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a472ae1e4e2bf5fb71ac655d38d1e35df4c1c966

Modified Files
--------------
src/backend/replication/walreceiver.c |    3 +++
1 file changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Split ecpg_execute() in constituent parts
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix Hot Standby feedback sending when streaming busily.