Re: Eagerly evict bulkwrite strategy ring

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Kirill Reshke <reshkekirill(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Eagerly evict bulkwrite strategy ring
Date: 2025-11-20 22:17:16
Message-ID: CAAKRu_bjB7d=dq=STidkw0X6x-e3GCHdKUyW7CdAkc1ZzJYokA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chao Li found a mistake I made in not releasing the buffer content
lock in one code path which he reported in another thread [1]. This
patch set shares some patches with the patches in that thread, so
attached is a corrected v9.

- Melanie

[1] https://www.postgresql.org/message-id/20E76846-4816-45BC-84F0-D8836D9AFA4C%40gmail.com

Attachment Content-Type Size
v9-0001-Refactor-goto-into-for-loop-in-GetVictimBuffer.patch text/x-patch 12.2 KB
v9-0002-Split-FlushBuffer-into-two-parts.patch text/x-patch 7.7 KB
v9-0003-Eagerly-flush-bulkwrite-strategy-ring.patch text/x-patch 13.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2025-11-20 22:23:05 Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access)
Previous Message Nathan Bossart 2025-11-20 22:16:13 Re: vacuumdb: add --dry-run