Re: PostgreSQL Failback without rebuild

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PostgreSQL Failback without rebuild
Дата
Msg-id 20140211194200.GJ2289@momjian.us
обсуждение исходный текст
Ответ на Re: PostgreSQL Failback without rebuild  (James Sewell <james.sewell@lisasoft.com>)
Список pgsql-hackers
On Fri, Feb  7, 2014 at 03:57:31PM +1100, James Sewell wrote:
> I've just noticed that on PostgreSQL 9.3 I can do the following with a master
> node A and a slave node B (as long as I have set recovery_target_timeline =
> 'latest'):
> 
>  1. Stop Node A
>  2. Promote Node B
>  3. Attach Node A as slave
> 
> This is sufficient for my needs (I know it doesn't cover a crash), can anyone
> see any potential problems with this approach?

I know some people have used rsync to get A to match B after a crash of
A and promotion of B.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [PERFORM] encouraging index-only scans
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: [PERFORM] encouraging index-only scans