Re: BUG #14109: pg_rewind fails to update target control file in one scenario

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: BUG #14109: pg_rewind fails to update target control file in one scenario
Дата
Msg-id
20160428112850.GA71376@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
BUG #14109: pg_rewind fails to update target control file in one scenario johnlumby@hotmail.com
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario John Lumby <johnlumby@hotmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario John Lumby <johnlumby@hotmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Julien Rouhaud <julien.rouhaud@dalibo.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario John Lumby <johnlumby@hotmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Julien Rouhaud <julien.rouhaud@dalibo.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario John Lumby <johnlumby@hotmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario John Lumby <johnlumby@hotmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Michael Paquier <michael.paquier@gmail.com>
Re: BUG #14109: pg_rewind fails to update target control file in one scenario Guillaume Lelarge <guillaume@lelarge.info>
Michael Paquier wrote:
> On Wed, Apr 27, 2016 at 9:47 AM, Michael Paquier
>  wrote:

> > Replication slots are perfectly able to retain WAL segments from a
> > prior timeline, so I am not sure that this would be much a gain.
> 
> Or to put in in other words, a slot that activates automatically
> itself at promotion to retain WAL from the previous timeline would be
> interesting for pg_rewind, but the use case we have here is only
> pg_rewind. so it seems a bit narrow to bother modifying the core core
> to add this support in the replication slot code. And this can be
> solved lightly with an archive. Thoughts from others are welcome.

Sounds to me like it should be enough to document (in pg_rewind's page)
that activating a slot prior to the promotion.  Maybe we could have
"pg_ctl promote" have an option to create a slot, to make this simpler?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-bugs по дате отправления
От: tushar
Дата:
От: Michael Paquier
Дата:
FAQ