Re: Implement waiting for wal lsn replay: reloaded - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Implement waiting for wal lsn replay: reloaded
Date
Msg-id CAPpHfdv_BS7csGyg_=pPanRQM9Sf6_wBWNGdVzJRAv0U4eH9cg@mail.gmail.com
Whole thread Raw
In response to Re: Implement waiting for wal lsn replay: reloaded  (Xuneng Zhou <xunengzhou@gmail.com>)
List pgsql-hackers
On Tue, Jan 27, 2026 at 3:14 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> Heikki spotted a misplaced wake-up call for replay waiters in
> PerformWalRecovery. He suggested that the WaitLSNWakeup needs to be
> invoked immediately after wal record is applied to avoid the potential
> missed wake-ups when recovery stops/pauses/promotes. It makes sense to
> me. Please check the attached patch to fix that.

Pushed, thank you!

------
Regards,
Alexander Korotkov
Supabase



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: implement CAST(expr AS type FORMAT 'template')
Next
From: Tender Wang
Date:
Subject: Re: Optimize IS DISTINCT FROM with non-nullable inputs