Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup
Date
Msg-id CAHGQGwFy6hMPgPbwaKA9gumbDwnS7sR8f8orzzhyVgkajDV1rw@mail.gmail.com
Whole thread
In response to Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup  (Xuneng Zhou <xunengzhou@gmail.com>)
Responses Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup
List pgsql-hackers
On Wed, Jun 24, 2026 at 1:12 AM Xuneng Zhou <xunengzhou@gmail.com> wrote:
> Here is the updated patch. Please take a look.

While working on the deadlock detection issue on standby discussed in [1],
you pointed out that both the proposed patch there and this patch modify
LockBufferForCleanup(), and suggested applying this fix first.
So I took a look at it.

As far as I read the patch, it looks good to me, so I'm inclined to
commit it unless another committer on this thread would like to do so.
But any objections?

BTW, since the issue was introduced by commits 5310fac6e0f and
c75ebc657ffc, this fix only needs to be applied to master.
Is that correct?

Regards,

[1] https://postgr.es/m/44c24dcf-5710-410f-b1b6-d10b315f3d51@postgrespro.ru

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Pavel Borisov
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands