Re: pg_rewind exiting with error code 1 when source and target are on the same timeline

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline
Дата
Msg-id
31548.1450210559@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
pg_rewind exiting with error code 1 when source and target are on the same timeline Michael Paquier <michael.paquier@gmail.com>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Peter Eisentraut <peter_e@gmx.net>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Michael Paquier <michael.paquier@gmail.com>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Peter Eisentraut <peter_e@gmx.net>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Michael Paquier <michael.paquier@gmail.com>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Peter Eisentraut <peter_e@gmx.net>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Michael Paquier <michael.paquier@gmail.com>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Michael Paquier <michael.paquier@gmail.com>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Peter Eisentraut <peter_e@gmx.net>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Peter Eisentraut <peter_e@gmx.net>
Re: pg_rewind exiting with error code 1 when source and target are on the same timeline Francisco Olarte <folarte@peoplecall.com>
Peter Eisentraut  writes:
> On 12/12/15 6:08 AM, Michael Paquier wrote:
>> And is caused by the fact that master checks that the source node has
>> been stopped with DB_SHUTDOWNED and not DB_SHUTDOWNED_IN_RECOVERY.

> It seems that the/a problem is actually that the test setup tries a
> rewind using the standby as the source and the standby also as the
> target.  The source should be the primary, and then it doesn't matter
> whether we allow DB_SHUTDOWNED_IN_RECOVERY.  Need to check that test setup.

While the test setup might have been a bit weird, I think that it
uncovered an actual bug in pg_rewind, or at least a very undesirable
and unnecessary restriction.  Why should people not be allowed to use
it to sync in that direction?

			regards, tom lane
В списке pgsql-bugs по дате отправления
От: Peter Eisentraut
Дата:
От: Peter Eisentraut
Дата:
FAQ