Re: Reviving lost replication slots

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Reviving lost replication slots
Дата
Msg-id CAA4eK1JPCNXjGPBpkETSWve-enfwo+djVQMW7CDt_63jCosyfA@mail.gmail.com
обсуждение исходный текст
Ответ на Reviving lost replication slots  (sirisha chamarthi <sirichamarthi22@gmail.com>)
Ответы Re: Reviving lost replication slots
Список pgsql-hackers
On Fri, Nov 4, 2022 at 1:40 PM sirisha chamarthi
<sirichamarthi22@gmail.com> wrote:
>
 Is the intent of setting restart_lsn to InvalidXLogRecPtr was to
disallow reviving the slot?
>

I think the intent is to compute the correct value for
replicationSlotMinLSN as we use restart_lsn for it and using the
invalidated slot's restart_lsn value for it doesn't make sense.

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Small TAP improvements
Следующее
От: Japin Li
Дата:
Сообщение: Remove redundant declaration for XidInMVCCSnapshot