Re: Document slot's restart_lsn can go backward

2025-07-21 Thread Alexander Korotkov
On Mon, Jul 21, 2025 at 11:40 AM vignesh C wrote: > > On Mon, 21 Jul 2025 at 11:04, Amit Kapila wrote: > > > > On Fri, Jul 18, 2025 at 5:11 PM Alexander Korotkov > > wrote: > > > > > > While working on the patch fixing the situation when slot's > > > restart_lsn ends up pointing to a removed WA

Re: Document slot's restart_lsn can go backward

2025-07-21 Thread vignesh C
On Mon, 21 Jul 2025 at 11:04, Amit Kapila wrote: > > On Fri, Jul 18, 2025 at 5:11 PM Alexander Korotkov > wrote: > > > > While working on the patch fixing the situation when slot's > > restart_lsn ends up pointing to a removed WAL segment [1], we > > discovered that sometimes slot's restart_lsn

Re: Document slot's restart_lsn can go backward

2025-07-20 Thread Amit Kapila
On Fri, Jul 18, 2025 at 5:11 PM Alexander Korotkov wrote: > > While working on the patch fixing the situation when slot's > restart_lsn ends up pointing to a removed WAL segment [1], we > discovered that sometimes slot's restart_lsn can go backward > [2][3][4]. Hayato Kuroda proposed a patch [5],

Re: Document slot's restart_lsn can go backward

2025-07-19 Thread Alexander Korotkov
On Fri, Jul 18, 2025 at 2:40 PM Alexander Korotkov wrote: > While working on the patch fixing the situation when slot's > restart_lsn ends up pointing to a removed WAL segment [1], we > discovered that sometimes slot's restart_lsn can go backward > [2][3][4]. Hayato Kuroda proposed a patch [5], w

Document slot's restart_lsn can go backward

2025-07-18 Thread Alexander Korotkov
Hackers, While working on the patch fixing the situation when slot's restart_lsn ends up pointing to a removed WAL segment [1], we discovered that sometimes slot's restart_lsn can go backward [2][3][4]. Hayato Kuroda proposed a patch [5], which improves comments by describing this behavior. As p