Re: [GENERAL] Interesting streaming replication issue

Поиск
Список
Период
Сортировка
От James Sewell
Тема Re: [GENERAL] Interesting streaming replication issue
Дата
Msg-id CAANVwEu8pqiQe9ZPJZDg3bnKsxyHBxji58CJB_MKHm9eRV5hDg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Interesting streaming replication issue  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: [GENERAL] Interesting streaming replication issue
Список pgsql-general


are you sure you're scp'ing from the archive, not from pg_xlog?

Yes:

restore_command = 'scp -o StrictHostKeyChecking=no 10.154.19.30:/archive/xlog//%f %p'

Although you are right - that would almost make sense if I had done that!

Sounds a lot like a cleanup process on your archive directory or something getting in the way. Are the logs pg is asking for in that archive dir?

That's the strange thing - if you look at the log not only are they there, the standby has already retrieved them.

It's then asking for the log again via the stream.
--
James Sewell,
PostgreSQL Team Lead / Solutions Architect 

 

Suite 112, Jones Bay Wharf, 26-32 Pirrama Road, Pyrmont NSW 2009


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [GENERAL] Monitoring of a hot standby with a largely idle master
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [GENERAL] Index Only Scan and Heap Fetches