walsender can ignore send failures in WalSndLoop

Lists: pgsql-hackers
From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Subject: walsender can ignore send failures in WalSndLoop
Date: 2014-02-14 11:13:48
Message-ID: 20140214111348.GJ4910@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

There's a small issue in abfd192b, namely one of the error cases wasn't
changed when WalSndLoop was changed to be able to return.

I don't think this is likely to have any grave consequences, we'll
likely error out soon afterwards again.

Patch attached.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
walsender-dont-ignore-socket-write-failure.patch text/x-patch 412 bytes

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: walsender can ignore send failures in WalSndLoop
Date: 2014-03-04 13:44:58
Message-ID: 5315D8DA.8060502@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 02/14/2014 01:13 PM, Andres Freund wrote:
> There's a small issue in abfd192b, namely one of the error cases wasn't
> changed when WalSndLoop was changed to be able to return.
>
> I don't think this is likely to have any grave consequences, we'll
> likely error out soon afterwards again.
>
> Patch attached.

Fixed, thanks!

- Heikki