Re: How can you get "WAL segment has already been removed" when doing synchronous replication ?!

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: How can you get "WAL segment has already been removed" when doing synchronous replication ?!
Дата
Msg-id 20130712110536.GA471@depesz.com
обсуждение исходный текст
Ответ на Re: How can you get "WAL segment has already been removed" when doing synchronous replication ?!  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-general
On Fri, Jul 12, 2013 at 12:30:22PM +0530, Amit Langote wrote:
> >> Increasing the wal_keep_segments ?
> > I know that I can increase wal_keep_segments to "solve" it, but
> > shouldn't it be *impossible* to happen with synchronous replication?
> > After all - all commits should wait for slave to be 100% up to date!
> Is it possible that xlog recycling might have caused this wherein the
> xlog segment which is yet to be archived/shipped is recycled? I

As far as I know, pg will not recycle log before it's archived.
Otherwise we wouldn't be able to have archives.

> remember something of that sort. Check this discussion:
> http://www.postgresql.org/message-id/51779B3B.1020003@lab.ntt.co.jp
> Is this logged on the master or a standby?

master.

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: function returning select result to JDBC
Следующее
От: Vincenzo Romano
Дата:
Сообщение: