Re: 16.14 regression: startup process self-deadlocks during multixact WAL replay in RecordNewMultiXact

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Olegs Germanovs <olegs(dot)germanovs(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: 16.14 regression: startup process self-deadlocks during multixact WAL replay in RecordNewMultiXact
Date: 2026-05-27 12:48:51
Message-ID: 106926E9-B7D6-4F6A-A03C-94BFA76E9E4A@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 27 May 2026, at 17:33, Olegs Germanovs <olegs(dot)germanovs(at)gmail(dot)com> wrote:
>
> After upgrading from 16.13 to 16.14, archive recovery of a basebackup
> hangs indefinitely during multixact WAL replay.

Hi Olegs!

Thanks for the detailed report! Your analysis of the self-deadlock is spot on.

The fix for this problem has already been committed to REL_16_STABLE as 42a3194e5483 [0].
It was discussed on the pgsql-bugs thread "BUG #19490: Streaming standby on 16.14 stops
applying WAL on MultiXactOffsetSLRU when primary is 16.8" [1].

Please let us know if you still observe the problem or any other unusual behavior.

Best regards, Andrey Borodin.

[0] https://git.postgresql.org/cgit/postgresql.git/commit/?h=REL_16_STABLE&id=42a3194e548349b658a808347df3d3d5e6b968af
[1] https://www.postgresql.org/message-id/flat/46FE61C9-F273-45FD-BED7-0F8CDA6EB992%40yandex-team.ru#69de260aa4dc6a1882732d466783afc9

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-05-27 13:57:37 Re: BUG #19496: Assert("ItemPointerIsValid(pointer)") when using pageinspect
Previous Message Olegs Germanovs 2026-05-27 12:33:58 16.14 regression: startup process self-deadlocks during multixact WAL replay in RecordNewMultiXact