Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r

Поиск
Список
Период
Сортировка
От Jehan-Guillaume de Rorthais
Тема Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r
Дата
Msg-id 20200427122908.0275206c@firost
обсуждение исходный текст
Ответ на Re: pgsql: Fix handling of WAL segments ready to be archived duringcrash r  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
On Sat, 25 Apr 2020 09:31:14 +0900
Michael Paquier <michael@paquier.xyz> wrote:

> On Fri, Apr 24, 2020 at 05:30:21PM +0900, Kyotaro Horiguchi wrote:
> > I think we can reimplement them by waiting
> > pg_stat_archiver.last_failed_wal at least for archive_mode=always
> > case. I'm not sure about the case where archive_mode=on, though.  
> 
> Yeah, the second case is more tricky, and there is no point to add a
> poll query using pg_stat_file() on a .ready file either.

I suggested a patch in the original thread, waiting for the LSN gathered on 
the primary.



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