Re: pg_receivewal starting position

Поиск
Список
Период
Сортировка
От Ronan Dunklau
Тема Re: pg_receivewal starting position
Дата
Msg-id 12900687.dW097sEU6C@aivenronan
обсуждение исходный текст
Ответ на Re: pg_receivewal starting position  (Ronan Dunklau <ronan.dunklau@aiven.io>)
Список pgsql-hackers
Le mercredi 27 octobre 2021, 10:00:40 CEST Ronan Dunklau a écrit :
> Le mercredi 27 octobre 2021, 04:17:28 CEST Kyotaro Horiguchi a écrit :
> > +my @walfiles = glob "$slot_dir/*";
> >
> > This is not used.
>
> Sorry, fixed in attached version.
>
> > Each pg_receivewal run stalls for about 10 or more seconds before
> > finishing, which is not great from the standpoint of recently
> > increasing test run time.
> >
> > Maybe we want to advance LSN a bit, after taking $nextlsn then pass
> > "-s 1" to pg_receivewal.
>
> I incorrectly assumed it was due to the promotion time without looking into
> it. In fact, you're right the LSN was not incremented after we fetched the
> end lsn, and thus we would wait for quite a while. I fixed that too.
>
> Thank you for the review !

Sorry I sent an intermediary version of the patch, here is the correct one.

--
Ronan Dunklau
Вложения

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

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: Feature request for adoptive indexes
Следующее
От: Greg Nancarrow
Дата:
Сообщение: Re: row filtering for logical replication