Re: 9.0beta2 - server crash when using HS + SR

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: 9.0beta2 - server crash when using HS + SR
Дата
Msg-id 20100613205210.GA20580@svana.org
обсуждение исходный текст
Ответ на Re: 9.0beta2 - server crash when using HS + SR  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: 9.0beta2 - server crash when using HS + SR  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sun, Jun 13, 2010 at 12:42:49PM -0400, Robert Haas wrote:
> I think the behavior is correct (what else would we do? we must be
> able to replace the subsequent WAL records that use the new
> tablespace) but I agree that the hint is a little misleading.
> Ideally, it seems like we'd like to issue that hint if we're planning
> to restart, but not otherwise.  You get that same message, for
> example, if the DBA performs an immediate shutdown.

A bit of a comment from the sidelines: there's no particular reason why
the tablespaces on the master would need to match the tablespaces on
the slave. For a first cut it would seem to me that you should just be
able to ignore the tablespace commands on the slave. Not sure whether
that's easy or not though.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
>                                       - Charles de Gaulle

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Command to prune archive at restartpoints
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 9.0beta2 - server crash when using HS + SR