Re: DETAIL: pg_rewind: servers diverged at WAL location 0/9000000 on timeline 1 - Mailing list pgsql-bugs

From Laurenz Albe
Subject Re: DETAIL: pg_rewind: servers diverged at WAL location 0/9000000 on timeline 1
Date
Msg-id 967d0513557c9d12cbe3a35b6318e32712edcf2d.camel@cybertec.at
Whole thread Raw
In response to DETAIL: pg_rewind: servers diverged at WAL location 0/9000000 on timeline 1  ("Kumar, Devesh" <devesh.kumar@cmegroup.com>)
Responses Re: DETAIL: pg_rewind: servers diverged at WAL location 0/9000000 on timeline 1
List pgsql-bugs
On Sat, 2024-04-27 at 00:36 +0530, Kumar, Devesh wrote:
> Currently we are working on setting up replication and testing failover scenarios
> and failback. During our testing, failover is getting successful. During Failback,
> when we are reverting the original primary instance as the new standby, we are
> getting pg_rewind errors. Kindly can someone check and let us know.
>
> pg_rewind: servers diverged at WAL location 0/9000000 on timeline 1
> pg_rewind: error: could not open file "/pgresdata101/data/pg_wal/000000010000000000000008": No such file or directory
> pg_rewind: error: could not find previous WAL record at 0/802B668

You should show the exact commands used for failover and failback.

Yours,
Laurenz Albe



pgsql-bugs by date:

Previous
From: Melody
Date:
Subject: 回复:Re: BUG #18450: The memory usage of the postgresql12.6 walsender process is abnormally high.
Next
From: Shlok Kyal
Date:
Subject: Re: BUG #18433: Logical replication timeout