Re: FSM doesn't recover after zeroing damaged page.

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: "Anton A. Melnikov" <a.melnikov@postgrespro.ru>
Cc: vignesh C <vignesh21@gmail.com>, Kirill Reshke <reshkekirill@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-19T10:43:31Z
Lists: pgsql-hackers
On 2025-Mar-24, Anton A. Melnikov wrote:

> That said, the fix initially proposed seems incorrect and overly crude to me,
> as this behavior does not occur with every FSM page but only under specific conditions.
> E. g., the error will not recur if it was the last incomplete FSM page.
> I think firstly it is necessary to understand the reasons for this difference in behavior.
> So i plan to dig deeper into the FSM algorithm and come up with a more targeted fix.

Hello, I moved this patch to the Drafts commitfest.  Feel free to put it
back in a real CF once you have a working fix.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Las mujeres son como hondas:  mientras más resistencia tienen,
 más lejos puedes llegar con ellas"  (Jonas Nightingale, Leap of Faith)