Re: Reviving lost replication slots - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Reviving lost replication slots
Date
Msg-id CAA4eK1JPCNXjGPBpkETSWve-enfwo+djVQMW7CDt_63jCosyfA@mail.gmail.com
Whole thread Raw
In response to Reviving lost replication slots  (sirisha chamarthi <sirichamarthi22@gmail.com>)
Responses Re: Reviving lost replication slots
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Small TAP improvements
Next
From: Japin Li
Date:
Subject: Remove redundant declaration for XidInMVCCSnapshot