Re: Error "initial slot snapshot too large" in create replication slot

From: "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, andres(at)anarazel(dot)de, jchampion(at)timescale(dot)com, y(dot)sokolov(at)postgrespro(dot)ru, dilipbalaut(at)gmail(dot)com, rjuju123(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Error "initial slot snapshot too large" in create replication slot
Date: 2023-03-20 17:46:51
Message-ID: CAM-w4HPoTkjTE9w9Ohy+EnU8SCJ9x2FEEeE6EtT-iAgdk_SrMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 12 Oct 2022 at 01:10, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Tue, Sep 13, 2022 at 05:31:05PM +0900, Kyotaro Horiguchi wrote:
> > And ExportSnapshot repalces oversized subxip with overflowed.
> >
> > So even when GetSnapshotData() returns a snapshot with oversized
> > subxip, it is saved as just "overflowed" on exporting. I don't think
> > this is the expected behavior since such (no xip and overflowed)
> > snapshot no longer works.
> >
> > On the other hand, it seems to me that snapbuild doesn't like
> > takenDuringRecovery snapshots.
> >
> > So snapshot needs additional flag signals that xip is oversized and
> > all xid are holded there. And also need to let takenDuringRecovery
> > suggest subxip is oversized.
>
> The discussion seems to have stopped here. As this is classified as a
> bug fix, I have moved this patch to next CF, waiting on author for the
> moment.

Kyotoro Horiguchi, any chance you'll be able to work on this for this
commitfest? If so shout (or anyone else is planning to push it over
the line.... Andres?) otherwise I'll move it on to the next release.

--
Gregory Stark
As Commitfest Manager

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2023-03-20 17:52:46 Re: Data is copied twice when specifying both child and parent table in publication
Previous Message Tomas Vondra 2023-03-20 17:46:06 Re: Save a few bytes in pg_attribute