Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup

From: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup
Date: 2026-06-27 01:56:16
Message-ID: CABPTF7XD_E2uPevU5JoxAbK79uoK6_iahvYatj6sdWibemFJcQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 26, 2026 at 9:41 PM Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Wed, Jun 24, 2026 at 1:12 AM Xuneng Zhou <xunengzhou(at)gmail(dot)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?

I think this is true.

--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Feng Wu 2026-06-27 02:08:59 [PATCH] Avoid collation lookup for "char" statistics
Previous Message Henson Choi 2026-06-27 01:11:34 Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root