Re: Timeout and wait-forever in sync rep - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Timeout and wait-forever in sync rep
Date
Msg-id AANLkTinbLxmwqdSFQVyamm_OzRYm-_-10Yna7-zRasF0@mail.gmail.com
Whole thread Raw
In response to Re: Timeout and wait-forever in sync rep  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Timeout and wait-forever in sync rep  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Mon, Oct 18, 2010 at 12:03 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> The keepalives don't work at least on linux when the connection is terminated
> after sending a packet and before receiving TCP-level ACK. You can confirm
> this by unplugging the LAN cable from a client server while running pgbench
> on a client.

What do you mean by "don't work"? In this case no additional packets
would be needed since the regular ack would serve the same purpose.
How long did you wait to test whether it would work? It takes quite a
while before the connection would time out.

-- 
greg


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ISN patch that applies cleanly with git apply
Next
From: Terry Laurenzo
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)