| From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
|---|---|
| To: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
| Cc: | Peter Geoghegan <pg(at)bowt(dot)ie>, Andres Freund <andres(at)anarazel(dot)de>, chenhj <chjischj(at)163(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Connections hang indefinitely while taking a gin index's LWLock buffer_content lock |
| Date: | 2018-12-11 07:14:50 |
| Message-ID: | C08044E4-2FAF-4FF9-AC58-94C0484CC750@yandex-team.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi!
> 11 дек. 2018 г., в 3:43, Alexander Korotkov <aekorotkov(at)gmail(dot)com> написал(а):
>
> Attached patch appears to be incomplete. GinPageSetDeleteXid() is
> called only in ginRedoDeletePage(), so only in recovery, while it
> should be set during normal work too. deleteXid field of
> ginxlogDeletePage is never set.
Sorry, I've messed it again. Forgot to include ginvacuum.c changes. Here it is.
Best regards, Andrey Borodin.
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Stamp-deleted-GIN-page-with-xid-v2.patch | application/octet-stream | 3.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2018-12-11 07:20:05 | Why not represent "never vacuumed" accurately wrt pg_class.relpages? |
| Previous Message | Andres Freund | 2018-12-11 07:08:28 | Should get_rel_data_width take alignment into account? |