Re: Switching timeline over streaming replication

Поиск
Список
Период
Сортировка
От Joshua Berkus
Тема Re: Switching timeline over streaming replication
Дата
Msg-id 1878073001.154713.1356041565895.JavaMail.root@agliodbs.com
обсуждение исходный текст
Ответ на Re: Switching timeline over streaming replication  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers

> I just committed a patch that should make the "requested WAL segment
> 000000020000000000000003 has already been removed" errors go away.
> The
> trick was for walsenders to not switch to the new timeline until at
> least one record has been replayed on it. That closes the window
> where
> the walsender already considers the new timeline to be the latest,
> but
> the WAL file has not been created yet.

OK, I'll download the snapshot in a couple days and make sure this didn't breaks something else.

--Josh



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Feature Request: pg_replication_master()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_top