Re: BUG #19490: Streaming standby on 16.14 stops applying WAL on MultiXactOffsetSLRU when primary is 16.8
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Andrey Borodin <x4mmm@yandex-team.ru>,
Michael Paquier <michael@paquier.xyz>
Cc: Ayush Tiwari <ayushtiwari.slg01@gmail.com>,
Radim Marek <radim@boringsql.com>, Marko Tiikkaja <marko@joh.to>,
PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2026-05-26T12:28:02Z
Lists: pgsql-hackers
On 26/05/2026 12:33, Andrey Borodin wrote: >> On 26 May 2026, at 14:27, Michael Paquier <michael@paquier.xyz> wrote: >> >> Hmm, okay. I am not sure what you mean here, could you demonstrate >> your idea with a patch later? > > Something like attached, not tested yet, working on an automated test. Yeah, that looks correct to me. It moves the locking on v16 to where it happens on v17 and v18. I don't see any reason to hold the lock in the earlier parts of RecordNewMultiXact() in v16. - Heikki