Re: Demoting master to slave without an rsync...is it safe?

Поиск
Список
Период
Сортировка
От Chris Redekop
Тема Re: Demoting master to slave without an rsync...is it safe?
Дата
Msg-id CAC2SuRK=upbuAMPBwQg6dHr6mWK1byjR_MaU=ZACx72DT=yjrg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Demoting master to slave without an rsync...is it safe?  (Alex Lai <alai@sesda2.com>)
Ответы Re: Demoting master to slave without an rsync...is it safe?
Список pgsql-general

I have two questions:
(1) Did you set recovery_target_timeline='latest' in both master and slave?

Yes....but it's in recovery.conf so it only really applies to whichever server is currently the slave...
 
(2) Did you make any changes after promote the slave to be master?

Yes, some....however I'm not sure I've done enough changes to have the slave rotate+archive an xlog before bringing the old master back up as a slave....I would assume that wouldn't make a difference but it's something to test I guess....

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Advice on HA option
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: conditional insert