Re: BUG #17073: docs - "Improve signal handling reliability"

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #17073: docs - "Improve signal handling reliability"
Дата
Msg-id CAKFQuwZ-tBGmyCPP2MH3a98NsbrsYJ7jfOFFZ3t5yrSy-x8dtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17073: docs - "Improve signal handling reliability"  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-bugs
On Wednesday, June 30, 2021, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
On 2021-Jun-30, David G. Johnston wrote:

> We forget to check for interrupts before sleeping in an otherwise busy-wait
> loop.  We corrected the oversight.

(It's not a busy-wait loop, just a sleep, unless I misunderstand.)

 I was just repeating the code comment:

* and retry from the archive, but if it hasn't been long
* since last attempt, sleep wal_retrieve_retry_interval
* milliseconds to avoid busy-waiting.
 
Which is why I went with “an otherwise busy-wait loop” as a rephrasing of “avoid busy-waiting”.

I concur that this seems back-patch worthy.

David J.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postregres-9.3 redhad 7
Следующее
От: talk to ben
Дата:
Сообщение: Re: BUG #17061: Impossible to query the fields of the tuple created by SEARCH BREADTH FIRST BY .. SET ..