Re: Is Recovery actually paused?

Поиск
Список
Период
Сортировка
От Dilip Kumar
Тема Re: Is Recovery actually paused?
Дата
Msg-id CAFiTN-sf5p2G6JJa2LmeHBv9v0j9=xMc4TkV=qVmU80T=_3Wdw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is Recovery actually paused?  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On Sun, Jan 17, 2021 at 3:52 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>
> On Sat, Jan 16, 2021 at 12:28 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> >
> > ---
> > +       /* test for recovery pause if user has requested the pause */
> > +       if (((volatile XLogCtlData *) XLogCtl)->recoveryPause)
> > +           recoveryPausesHere(false);
> > +
> > +       now = GetCurrentTimestamp();
> > +
> >
> > Hmm, if the recovery pauses here, the wal receiver isn't launched even
> > when wal_retrieve_retry_interval has passed, which seems not good. I
> > think we want the recovery to be paused but want the wal receiver to
> > continue receiving WAL.
>
> I had misunderstood the code and the patch, please ignore this
> comment. Pausing the recovery here is fine with me.

Thanks for the review Sawada-San,  I will work on your other comments
and post the patch.

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: PoC/WIP: Extended statistics on expressions
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Deleting older versions in unique indexes to avoid page splits