model-writtenrun 879 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Radim Marek reported that a 16.14 standby receiving WAL from a 16.8 primary stopped replaying while waiting on MultiXactOffsetSLRU, and Marko Tiikkaja supplied a matching startup-process backtrace #1 #3.
- Andrey Borodin traced the failure to the compatibility-path flush, and Ayush Tiwari explained that SimpleLruWriteAll() tried to acquire a lock already held by RecordNewMultiXact() #4 #5.
- Radim reported that downgrading to 16.12 avoided the deadlock but subsequently failed recovery on a missing multixact offsets page, and supplied another backtrace and WAL dump #6 #7.
- Ayush submitted a patch removing the flush, arguing that synchronous writes during page initialization made it unnecessary; he identified the locking problem on versions 14–16 #8.
- Michael Paquier challenged that assumption using out-of-order multixact replay and proposed preserving the flush while releasing the lock; Ayush accepted the objection and abandoned flush removal #9 #10.
- Andrey proposed acquiring the lock later, as versions 17 and 18 already did, and supplied a replacement patch that retained the flush and separately locked page initialization; Heikki Linnakangas agreed that the earlier code needed no lock #11 #13 #14.
- Andrey demonstrated that the replacement fixed cross-version replay, Michael reviewed it and ran check-world, and Nazneen Jafri independently reproduced the deadlock and verified successful replay with the patch #15 #16 #17.
- Heikki committed Andrey’s replacement as 42a3194e54, with only comment and lock-placement presentation changes from #13, and announced application to versions 14–16 #18.
- Andrey confirmed that all five tested branches now passed the cross-version replay test and subsequently enabled backward WAL compatibility checks on the hippocampus buildfarm animal using regression WAL and the targeted multixact workload #19 #21.
- A month later, Michael Banck requested an out-of-cycle release because standby upgrades and PITR remained affected in released binaries, and Emanuele Musella reported failures across versions 14, 15, and 16; the fix was committed, but the thread ended without a release decision #23 #24 #27.