On 11/7/24 13:19, Andres Freund wrote:
I think it's *completely* unacceptable to call a hook inside ReserveXLogInsertLocation, with the spinlock held, no less. That's the most contended section of code in postgres.
Aside from your technical concerns, can we at least agree that the commit-ts vs LSN inversion is a problem that should get addressed?
Regards, Jan