| From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
|---|---|
| To: | depesz(at)depesz(dot)com |
| Cc: | pgsql-bugs mailing list <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: WAL segments removed from primary despite the fact that logical replication slot needs it. |
| Date: | 2022-10-18 11:27:52 |
| Message-ID: | CAA4eK1KUMFfVrOpP7VgAPUN7rabvfr5GhcQh++T8BX-t7=e5YA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Mon, Oct 17, 2022 at 2:43 PM hubert depesz lubaczewski
<depesz(at)depesz(dot)com> wrote:
>
> On Sun, Oct 16, 2022 at 10:35:17AM +0530, Amit Kapila wrote:
> > > Wal file has been removed. Please note that the file was, as shown earlier, still within "restart_lsn" as visibile on pg12/bionic.
> > This is quite strange and I am not able to see the reason why this can
> > happen. The only way to debug this problem that comes to mind is to
> > add more LOGS around the code that removes the WAL files. For example,
> > we can try to print the value of minimumslotLSN (keep) and logSegNo in
> > KeepLogSeg().
>
> That would require changing pg sources, I think, recompiling, and
> retrying?
>
Yes. BTW, are you on the latest release of pg12, if not then you can
once check the release notes to see if there is any related bug fix in
the later releases?
Is this problem reproducible? If so, can you find out why there are
multiple time connection issues between walsender and walreceiver?
--
With Regards,
Amit Kapila.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2022-10-18 12:44:15 | Re: Aw: BUG #17647: 12.12 package has difference on ubuntu 18.04 |
| Previous Message | Amit Kapila | 2022-10-18 11:21:26 | Re: WAL segments removed from primary despite the fact that logical replication slot needs it. |