From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
---|---|
To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Streaming Replication and CopyOutResponse message |
Date: | 2010-03-26 12:23:48 |
Message-ID: | 4BACA754.2070106@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Fujii Masao wrote:
> At the end of the handshake for replication, a CopyOutResponse
> message might not arrive at the standby for a while if there is
> no WAL record to send. Also walreceiver would get stuck until
> that message has arrived. This is not a big problem, but should
> be fixed.
>
> The cause is that walsender hasn't called pq_flush() there.
> The attached patch changes walsender so as to call pg_flush()
> immediately when sending that message. Is it worth applying
> the patch?
Yeah, applied.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2010-03-26 13:21:42 | Re: [HACKERS] Incrementally Updated Backups and restartpoints |
Previous Message | Dimitri Fontaine | 2010-03-26 10:36:06 | Re: Proposal: access control jails (and introduction as aspiring GSoC student) |