Re: Interesting streaming replication issue

From: James Sewell <james(dot)sewell(at)jirotech(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Gunnar Nick Bluth <gunnar(dot)bluth(at)pro-open(dot)de>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interesting streaming replication issue
Date: 2017-07-27 20:28:13
Message-ID: CAANVwEu8pqiQe9ZPJZDg3bnKsxyHBxji58CJB_MKHm9eRV5hDg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
*P *(+61) 2 8099 9000 <javascript:void(0);> *W* www.jirotech.com *F *
(+61) 2 8099 9099 <javascript:void(0);>

--

------------------------------
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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2017-07-28 02:29:11 Re: Index Only Scan and Heap Fetches
Previous Message Jeff Janes 2017-07-27 20:14:41 Re: Monitoring of a hot standby with a largely idle master