Re: Streaming replication, some small issues

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Streaming replication, some small issues
Дата
Msg-id 4B1E40EF.2020405@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Streaming replication, some small issues  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Streaming replication, some small issues
Список pgsql-hackers
Greg Stark wrote:
> On Tue, Dec 8, 2009 at 8:30 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> - It's possible to shut down master, change max_wal_senders to 0,
>> restart and do an operation like CLUSTER which then skips WAL-logging.
>> Then shutdown, change max_wal_senders back to non-zero. All this while
>> the standby is running. Leads to a corrupt standby.
> 
> The same thing is possible with archived logs as well, no?

Yeah, I think you're right.

> I suspect we should have a WAL record to say "unlogged operation
> performed here" which a standby database would recognize and throw a
> large warning up.

+1. Seems like a very simple solution.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Streaming replication, some small issues
Следующее
От: Greg Stark
Дата:
Сообщение: Re: questions about concurrency control in Postgresql