Re: Regardign RecentFlushPtr in WalSndWaitForWal()

Поиск
Список
Период
Сортировка
От shveta malik
Тема Re: Regardign RecentFlushPtr in WalSndWaitForWal()
Дата
Msg-id CAJpy0uAx_dw6m1-yCtumgZ7jD3t4EP3V0QnDwhg4G3h6yAi8hA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Regardign RecentFlushPtr in WalSndWaitForWal()  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Regardign RecentFlushPtr in WalSndWaitForWal()  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On Sat, Mar 2, 2024 at 4:44 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
>
> Right, I think the quoted code has check "if (!RecoveryInProgress())".
>
> >
>  But apart from that, your
> > observation seems accurate, yes.
> >
>
> I also find the observation correct and the code has been like that
> since commit 5a991ef8 [1]. So, let's wait to see if Robert or Andres
> remembers the reason, otherwise, we should probably nuke this code.

Please find the patch attached for the same.

thanks
Shveta

Вложения

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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: [HACKERS] make async slave to wait for lsn to be replayed
Следующее
От: shveta malik
Дата:
Сообщение: Re: Add comment to specify timeout unit in ConditionVariableTimedSleep()