| From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add debugging help in OwnLatch(). |
| Date: | 2022-05-31 00:08:15 |
| Message-ID: | E1nvpQl-001wgH-DI@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add debugging help in OwnLatch().
Build farm animal gharial recently failed a few times in a parallel
worker's call to OwnLatch() with "ERROR: latch already owned". Let's
turn that into a PANIC and show the PID of the owner, to try to learn
more.
Discussion: https://postgr.es/m/CA%2BhUKGJ_0RGcr7oUNzcHdn7zHqHSB_wLSd3JyS2YC_DYB%2B-V%3Dg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/12e28aac8e8eb76cab13a4e9b696e3dab17f1c99
Modified Files
--------------
src/backend/storage/ipc/latch.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2022-05-31 00:48:49 | pgsql: Remove useless tests for TRUNCATE on foreign tables |
| Previous Message | Tom Lane | 2022-05-30 18:05:32 | pgsql: Make STRING an unreserved_keyword. |