Re: CREATE REPLICATION SLOT fails on a timeout

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: CREATE REPLICATION SLOT fails on a timeout
Дата
Msg-id BLU0-SMTP76E5D6291A37B1387D362DC310@phx.gbl
обсуждение исходный текст
Ответ на Re: CREATE REPLICATION SLOT fails on a timeout  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: CREATE REPLICATION SLOT fails on a timeout
Список pgsql-hackers
On 05/16/2014 04:43 PM, Andres Freund wrote:
> Hi,
>
> I don't think that's going to cut it though. The creation can take
> longer than whatever wal_sender_timeout is set to (when there's lots of
> longrunning transactions). I think checking whether last_reply_timestamp
> = 0 during timeout checking is more robust.
>
> Greetings,
>
> Andres Freund
>
>


That makes sense.
A patch that does that is attached.

Steve

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: CREATE REPLICATION SLOT fails on a timeout
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: SKIP LOCKED DATA (work in progress)