pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedPG13 pg_receivewal failing
3+ messages / 2 participants
[nested] [flat]
* PG13 pg_receivewal failing
@ 2020-09-24 20:51 Grigory Smolkin <g.smolkin@postgrespro.ru>
0 siblings, 1 reply; 3+ messages in thread
From: Grigory Smolkin @ 2020-09-24 20:51 UTC (permalink / raw)
To: pgsql-bugs
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?
--
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: PG13 pg_receivewal failing
@ 2020-09-25 00:46 Fujii Masao <masao.fujii@oss.nttdata.com>
parent: Grigory Smolkin <g.smolkin@postgrespro.ru>
0 siblings, 1 reply; 3+ messages in thread
From: Fujii Masao @ 2020-09-25 00:46 UTC (permalink / raw)
To: Grigory Smolkin <g.smolkin@postgrespro.ru>; pgsql-bugs
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.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: PG13 pg_receivewal failing
@ 2020-09-25 08:16 Grigory Smolkin <g.smolkin@postgrespro.ru>
parent: Fujii Masao <masao.fujii@oss.nttdata.com>
0 siblings, 0 replies; 3+ messages in thread
From: Grigory Smolkin @ 2020-09-25 08:16 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@oss.nttdata.com>; 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-09-25 08:16 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 20:51 PG13 pg_receivewal failing Grigory Smolkin <g.smolkin@postgrespro.ru>
2020-09-25 00:46 ` Fujii Masao <masao.fujii@oss.nttdata.com>
2020-09-25 08:16 ` Grigory Smolkin <g.smolkin@postgrespro.ru>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox