On Thu, Dec 3, 2026 at 3:43 AM Hannu Krosing <[email protected]> wrote: > While reviewing a cfbot run for an unrelated patch series, I noticed an > intermittent assertion failure in recovery/061_recovery_target_prefetch on > macOS - Meson [1]: > > TRAP: failed Assert("TransactionIdPrecedesOrEquals(TransactionXmin, > RecentXmin)"), > File: "../src/backend/storage/ipc/procarray.c", Line: 2071 > > This turns out to be a pre-existing race condition in GetSnapshotDataReuse() > during standby promotion, present since commit 623a9ba79bb (PostgreSQL 14).
Thanks for the report! This seems the same issue I reported at [1], where I also proposed a fix. It would be helpful if you could review that patch. Regards, [1] https://postgr.es/m/CAHGQGwEduAjaWsb239RaMOkhVDT_XeX885Os_G=meb7wr9o...@mail.gmail.com -- Fujii Masao
