Re: Timeout and wait-forever in sync rep

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Timeout and wait-forever in sync rep
Дата
Msg-id AANLkTinbLxmwqdSFQVyamm_OzRYm-_-10Yna7-zRasF0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Timeout and wait-forever in sync rep  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: Timeout and wait-forever in sync rep  (Fujii Masao <masao.fujii@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ISN patch that applies cleanly with git apply
Следующее
От: Terry Laurenzo
Дата:
Сообщение: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)