Re: libpq: indefinite block on poll during network problems

Поиск
Список
Период
Сортировка
От Dmitry Samonenko
Тема Re: libpq: indefinite block on poll during network problems
Дата
Msg-id CAFKp+3c8tUO-NNgk0uCKd9-X0PnabB2de_sLwM__qpLR0Lzd8g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: libpq: indefinite block on poll during network problems  (Dmitry Samonenko <shreddingwork@gmail.com>)
Список pgsql-general
Sorry, my last mail got truncated. I'm starting to like Gmail mobile.

On Saturday, May 31, 2014, Dmitry Samonenko <shreddingwork@gmail.com> wrote:

Though this then begs the question: if the connection comes back up what
happens in the client?
 
Depends on the state of the server. If problem was purely network related - TCP retransmit eventually
 succeeds and client gets reply (with pause of course). Normal client operation resumes. If the server has crashed and the client hasn't received FIN segment (hardware crash for example), then the client is doomed for TCP retransmission retries.

  If the client is still stuck then I'd say that is
possibly our problem to address - but if the client resumes then expecting
and resolving the issue at a higher level seems to make sensible policy.
 
David J.

 


--
View this message in context: http://postgresql.1045698.n5.nabble.com/libpq-indefinite-block-on-poll-during-network-problems-tp5805061p5805605.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Dmitry Samonenko
Дата:
Сообщение: Re: libpq: indefinite block on poll during network problems
Следующее
От: Satish K Biradar
Дата:
Сообщение: Archive# views