Re: Two issues leading to discrepancies in FSM data on the standby server

Alexander Korotkov <aekorotkov@gmail.com>

From: Alexander Korotkov <aekorotkov@gmail.com>
To: Melanie Plageman <melanieplageman@gmail.com>
Cc: Alexey Makhmutov <a.makhmutov@postgrespro.ru>, Andrey Borodin <x4mmm@yandex-team.ru>, pgsql-hackers@postgresql.org
Date: 2026-05-02T16:51:52Z
Lists: pgsql-hackers
On Fri, May 1, 2026 at 12:57 AM Melanie Plageman
<melanieplageman@gmail.com> wrote:
> On Wed, Apr 22, 2026 at 10:15 AM Melanie Plageman
> <melanieplageman@gmail.com> wrote:
> >
> > On Wed, Apr 22, 2026 at 8:32 AM Alexander Korotkov <aekorotkov@gmail.com> wrote:
> >
> > > > It is a bug that is causing overly optimistic FSM
> > > > numbers, but it's not a correctness issue like wrong results/data
> > > > corruption etc. So, I think you could make an argument either way
> > > > about fixing it.
> > >
> > > It has user-visible effect of increased insertion time after replica
> > > promotion.  I think this is quite a reason to backpatch.
> >
> > Right, since it's not invasive, I'm fine with backpatching.
>
> Alexander, are you planning on committing this?

Melanie, thank you for reminder.  Yes, I'm planning to commit (with
backpatching) this in a couple of days.

------
Regards,
Alexander Korotkov
Supabase