Re: BUG #5011: Standby recovery unable to follow timeline change

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: BUG #5011: Standby recovery unable to follow timeline change
Дата
Msg-id 4A95562C.5090109@enterprisedb.com
обсуждение исходный текст
Ответ на Re: BUG #5011: Standby recovery unable to follow timeline change  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #5011: Standby recovery unable to follow timeline change
Список pgsql-bugs
Tom Lane wrote:
> I wrote:
>> ... but this solution is astonishingly ugly.  I think we should move up
>> the LocalSetXLogInsertAllowed call, instead.
>
> Specifically, I propose this patch instead.

It looks better, but leaves the door open for WAL insertions for a much
longer period. Particularly, there's the call to CheckpointGuts(), which
does a lot of things. Maybe I'm just too paranoid about keeping that
sanity check as tight as possible...

> I'm not set up to try the test case though, can you do that?

Sure.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #5015: MySQL migration wizard does not start
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #5011: Standby recovery unable to follow timeline change