Re: pg_stop_backup does not complete

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_stop_backup does not complete
Дата
Msg-id 201002251637.o1PGbNI23127@momjian.us
обсуждение исходный текст
Ответ на Re: pg_stop_backup does not complete  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas wrote:
> Josh Berkus wrote:
> > OK, can you go through the reasons why pg_stop_backup would not
> > complete?  
> 
> pg_stop_backup() doesn't complete until all the WAL segments needed to
> restore from the backup are archived. If archive_command is failing,
> that never happens.

Yes, very old behavior allowed people to think they had a full backup
when the WAL files needed were not all archived, which was a bad thing. 
Thankfully no one reported catastrophic failure from the old behavior.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.comPG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do + If your life is a hard
drive,Christ can be your backup. +
 


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication and pg_xlogfile_name()
Следующее
От: Richard Huxton
Дата:
Сообщение: plperl.on_init - bug or just me?