Re: Failover, Wal Logging, and Multiple Spares

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Failover, Wal Logging, and Multiple Spares
Дата
Msg-id 407d949e0908171759u53bcf0acq7587b4c9f5d0f783@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Failover, Wal Logging, and Multiple Spares  (Yaroslav Tykhiy <yar@barnet.com.au>)
Список pgsql-general
On Tue, Aug 18, 2009 at 1:25 AM, Yaroslav Tykhiy<yar@barnet.com.au> wrote:
> Encouraged by Bruce Momjian, I tried and had some success in this area.  It
> was a controlled failover but it worked like a charm.  An obvious condition
> was that the warm standbys be in perfect sync; you can't do the trick if
> some of them received the last WAL segment while the others didn't.

It seems like it should be possible to weaken this constraint. As long
as you're careful to fail over to the slave which is the furthest
ahead in replaying WAL. All the other slaves must switch to replaying
logs from the new master before the point where it took over.

This does seem like a very useful area to explore.


--
greg
http://mit.edu/~gsstark/resume.pdf

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Get most recent message between users?
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: Get most recent message between users?