Re: [HACKERS] Inefficient shutdown of pg_basebackup

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [HACKERS] Inefficient shutdown of pg_basebackup
Дата
Msg-id CANP8+j+PAtdPXsW47hMzSZy=P_i-Yb8jewqwBvOn7t2-sRZ=iQ@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] Inefficient shutdown of pg_basebackup  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 27 April 2017 at 05:31, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> The attached draft patch fixes this by expanding the StreamCtl API
> with a socket that the low-level wait routine should check for input.
> For me, this consistently knocks about 10 seconds off the runtime of
> 001_stream_rep.pl.

That is good. I noticed that delay many times.

> It could be argued that this isn't too significant in the real world
> because pg_basebackup would always run far longer than 10 seconds
> anyway for non-toy data.  But it still looks like a bug to me.

Not sure its a bug, but if it causes people to avoid running tests
then it is clearly a reliability issue.

I don't see anything to gain by waiting a year to apply this, so +1 to
move on it now.

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Khandekar
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: [HACKERS] Logical replication - TRAP: FailedAssertion in pgstat.c