pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix stale idle flag when IO workers exit.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix stale idle flag when IO workers exit.
@ 2025-07-12 01:33 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 01:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix stale idle flag when IO workers exit.

Otherwise we could choose a worker that has exited and crash while
trying to wake it up.

Back-patch to 18.

Reported-by: Tomas Vondra <tomas@vondra.me>
Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/t5aqjhkj6xdkido535pds7fk5z4finoxra4zypefjqnlieevbg%40357aaf6u525j

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/40e105042a4bec83ad8bc39e54edde2caf68d6a8

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix stale idle flag when IO workers exit.
@ 2025-07-12 01:33 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2025-07-12 01:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix stale idle flag when IO workers exit.

Otherwise we could choose a worker that has exited and crash while
trying to wake it up.

Back-patch to 18.

Reported-by: Tomas Vondra <tomas@vondra.me>
Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/t5aqjhkj6xdkido535pds7fk5z4finoxra4zypefjqnlieevbg%40357aaf6u525j

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/20b8b5dab983a11b8c8b5ba95f1d6f073ad26300

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 2 ++
1 file changed, 2 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-07-12 01:33 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-12 01:33 pgsql: Fix stale idle flag when IO workers exit. Thomas Munro <tmunro@postgresql.org>
2025-07-12 01:33 pgsql: Fix stale idle flag when IO workers exit. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox