pgsql: Fix Hot Standby feedback sending when streaming busily.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix Hot Standby feedback sending when streaming busily.
Date: 2014-01-16 21:16:12
Message-ID: E1W3uIO-00029Z-66@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_3_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-01-16 21:41:11 pgsql: docs: update PL/pgSQL docs about the use of := and =
Previous Message Alvaro Herrera 2014-01-16 21:07:48 pgsql: Split ecpg_execute() in constituent parts