Re: PG13 pg_receivewal failing - Mailing list pgsql-bugs

From Grigory Smolkin
Subject Re: PG13 pg_receivewal failing
Date
Msg-id 6972d399-09f9-b00e-7702-28cdd2a0b299@postgrespro.ru
Whole thread Raw
In response to Re: PG13 pg_receivewal failing  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-bugs
On 9/25/20 3:46 AM, Fujii Masao wrote:
>
>
> On 2020/09/25 5:51, Grigory Smolkin wrote:
>> Hello!
>>
>> I`ve encountered the following error when trying to stream WAL via 
>> pg_receivewal:
>>
>> pg_receivewal -p 11770 --synchronous -D /wal/node -v
>> pg_receivewal: starting log streaming at 0/1000000 (timeline 1)
>> pg_receivewal: error: unexpected termination of replication stream: 
>> ERROR:  requested WAL segment 000000010000000000000001 has already 
>> been removed
>> pg_receivewal: disconnected; waiting 5 seconds to try again
>>
>>
>> Is there something awry with start position calculation, or am I 
>> doing something wrong?
>
> I guess that 000000010000000000000001.partial file remained in /wal/node
> and pg_receivewal used 0/1000000 as the starting WAL position.


True, thank you very much!


>
> Regards,
>
-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company




pgsql-bugs by date:

Previous
From: Michał Albrycht
Date:
Subject: Re: BUG #16634: Conflicting names of indexes for partitioned tables
Next
From: Konstantin Knizhnik
Date:
Subject: Memory leak in RelationBuildRowSecurity