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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Error "initial slot snapshot too large" in create replication slot
Дата
Msg-id Y0ZMN2ntvHW8mwgp@paquier.xyz
обсуждение исходный текст
Ответ на Re: Error "initial slot snapshot too large" in create replication slot  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Error "initial slot snapshot too large" in create replication slot  (Andres Freund <andres@anarazel.de>)
Re: Error "initial slot snapshot too large" in create replication slot  ("Gregory Stark (as CFM)" <stark.cfm@gmail.com>)
Список pgsql-hackers
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.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ankit Oza
Дата:
Сообщение: Re: PostgreSQL Logical decoding
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: collect_corrupt_items_vacuum.patch