Re: Streaming replication: rsync to switchover

Поиск
Список
Период
Сортировка
От rudi
Тема Re: Streaming replication: rsync to switchover
Дата
Msg-id 4DAD52D8.1090006@gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication: rsync to switchover  (Gerhard Hintermayer <gerhard.hintermayer@gmail.com>)
Ответы Re: Streaming replication: rsync to switchover
Re: Streaming replication: rsync to switchover
Список pgsql-admin
On 04/19/2011 10:09 AM, Gerhard Hintermayer wrote:
> assuming you have configured rsyncd on the server as:
>
> [postgresql-data]
>      uid = postgres
>      path = /var/lib/postgresql/9.0/data
>      comment = PostgreSQL 9.0 data dir
>      exclude = postmaster.log pg_xlog/* postmaster.pid postgresql.conf

So you keep the old pg_xlog ... But, what about wal that the former
master hasn't yet sent to the slave? I wonder if the former-master could
apply them, becoming out-of-sync with the former-slave (that never
recevied those wal).

thanks

--
rudi


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

Предыдущее
От: H S
Дата:
Сообщение: Re: "postgres" is needed by initdb but was not found
Следующее
От: Gerhard Hintermayer
Дата:
Сообщение: Re: Streaming replication: rsync to switchover