Re: Inconsistent DB data in Streaming Replication

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inconsistent DB data in Streaming Replication
Дата
Msg-id 14775.1365436353@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Inconsistent DB data in Streaming Replication  (Samrat Revagade <revagade.samrat@gmail.com>)
Список pgsql-hackers
Samrat Revagade <revagade.samrat@gmail.com> writes:
> We have been trying to figure out possible solutions to the following
> problem in streaming replication Consider following scenario:

> If master receives commit command, it writes and flushes commit WAL records
> to the disk, It also writes and flushes data page related to this
> transaction.

> The master then sends WAL records to standby up to the commit WAL record.
> But before sending these records if failover happens then,  old master is
> ahead of  standby which is now the new master in terms of DB data leading
> to inconsistent data .

I don't exactly see the problem ... unless you're imagining that master
and slave share the same data storage or something like that.  That's
not going to work for a ton of reasons besides this one.
        regards, tom lane



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

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: Re: Inconsistent DB data in Streaming Replication
Следующее
От: Jeff Bohmer
Дата:
Сообщение: Re: [BUGS] BUG #8043: 9.2.4 doesn't open WAL files from archive, only looks in pg_xlog