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

From: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup
Date: 2026-06-23 16:20:48
Message-ID: CABPTF7Vv-b8DinB0OUKdH+5v=5LM8+khEdmOQ5qZwX88O27ODQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Melanie,

> Does the reproducer pass prior to 5310fac6e0f?

I've verified that the reproducer did pass prior to the commit. For a
20-times run of this test, every wait entered ProcWaitForSignal() and
returned, and the "refcount already 1 after waiter publication" line
never appeared.

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

Attachment Content-Type Size
before-5310-cleanup-lock-reproducer.patch application/octet-stream 1.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2026-06-23 16:24:52 Re: [GSoC 2026] - B-tree Index Bloat Reduction - Approach & Questions
Previous Message Xuneng Zhou 2026-06-23 16:12:01 Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup